Hello!
I’m editing my functions.php page, and it does not seem to be running the code that I’ve pasted into the bottom of it:
function my_home_category( $query ) {
if ( $query->is_home() && $query->is_main_query() ) {
$query->set( ‘cat’, ‘3’);
}
}
add_action( ‘pre_get_posts’, ‘my_home_category’ );
I’m trying to show only one category post on the home page, category id 3. Any suggestions?
thanks!
Jacob
Hi, how to add sidebar ? On right?
Help me ??
Thanks for help ??
Hello again!
My website is https://www.yogaecannella.it, however there is a landing page now, so you’d better head off at https://yogaecannella.it/blog. Try twice if you still see the landing page.
My problem is that I see the posts feed on the blog page, but if I click on the single post I see an error, “Ooops, that page doesn’t exist”.
It happened also with the default post.
I tried deleting all the articlesand starting again, but I keep seeing the same error.
Thank you
Francesca
[ No bumping please. ]
]]>Hello,
I need to understand how can I change the image underneath each page title (page title background):
Thank you
Francesca