0
votes
1answer
15 views

How do I control the fallback query after the original query returned cero posts?

I just figured out why WP developers expect you to create a separate 404.php page to control the output of that page. (and the silence about any attempt to do it otherwise) It's basically because ...
1
vote
0answers
58 views

Wordpress Multisite - Create Default Post and New Category On New Site Install

I've looked around quite a bit, but couldn't find help with creating a new, initial blog post and new category (or renaming the default category) once a new sub-domain has been installed. I've added ...
4
votes
1answer
489 views

How to display by default only published posts/pages in the admin area?

As it is, WordPress displays by default all the pages/posts in the pages/posts list in the admin area, no matter what their publishing status is. I have a lot of drafts, but usually I'm much more ...
0
votes
2answers
191 views

Set Default Category to Username

I installed a plugin called "Symbiosis" which creates categories automatically copying a user's username upon them signing up. Whenever any user creates a post on the site, I am trying to figure out ...
1
vote
2answers
295 views

Adding default post content for category

I'm trying to add some default content to my posts using this code in my functions.php: add_filter( 'default_content', 'my_editor_content' ); function my_editor_content( $content ) { $content = "My ...
0
votes
1answer
103 views

Setting default category for display

The default category for the page News is news. But I want the page news to show all posts. Not just news posts. All posts, includes news posts and engineering posts. When you hit the main site ...
1
vote
1answer
27 views

Display posts styled exactly like default posts

What would the parameters be for the shortcode to display a category of posts exactly like they would appear on the main blog page? Seems pretty simple but I just don't see which parameter would do ...
0
votes
1answer
468 views

Automatically delete default posts and pages on theme install?

Is there a way to automatically delete the default wordpress posts and pages when activating theme theme?