Wordpress Pages On Homepage Instead Of Posts
$10-30 USD
S-au achitat serviciile după ce au fost prestate
I am using Fukusawa theme on wordpress.
I added this code in the [login to view URL] file to get pages on my homepage instead of posts:
add_filter( 'pre_get_posts', 'my_get_posts' );
function my_get_posts( $query ) {
if ( is_home() && false == $query->query_vars['suppress_filters'] )
$query->set( 'post_type', array( 'page') );
return $query;
}
This works perfectly. But, I want to exclude some pages.
I found a solution but can't get it to work, for example....
$query->set( 'post__not_in', array( 2 ) );
So, I need someone who can help me exclude some pages from the homepage stream.. Should be super easy and fast for a wordpress pro....
ID Proiect: #17505687
Detalii despre proiect
Acordat lui:
It is supper easy project I can handle it in less than an hour. Let me have access to the codes and I can do it for you. Thanks
15 freelanceri plasează o ofertă medie de 23$ pentru proiect
Hi, Let me have you exclude the pages, ready to start now and have it done for you as soon as possible...thanks!
Hello , How are you? I just saw your project description carefully. I am very interested in your project. I have rich experience in WordPress front-end and back-end. I can switch page instead of post page. I am Mai multe
I have read your requirements and think that I would be a great fit for this project, Ready to start
Hi, I'm interested to work on your project, I will start project immediately Please let me know if you require any detailed information. Waiting for your reply Thanks Dev
Dear Hiring Manager, Today Your job posting (Wordpress Pages On Homepage Instead Of Posts) has caught my attention because I’m very experienced Developer I'm Good at CSS, HTML, MySQL, PHP, WordPress Hi tokyo105! Please Mai multe
Let me complete this task for you. kindly see exams passed for wordpress. ****************************************** Sincerely Alex
Hi Sir/Madam ! I have read your project discription and i will complete your task in few hours Why am i bidding? - 2+ years experience creating websites/online store on wordpress and woocommerce. - Successfully c Mai multe
Hello Sir, I can do this project, I have an experience of more than 6 years in web development. Check my portfolio for my recent work. Message me to discuss more about your project and the challenges you are facing , Mai multe
I have 5 years of experience in worpress plugin and website development, let's connect to complete this task asap.
Hi, i will solve this problem within few minutes please tell me and provide the details.I am wordpres developer with four years experience in development.