Category / WordPress

You can include a page/post content into a different page/post. For example, if you have a privacy disclaimer may be useful to load that content in a different context. This could be very useful when: Anyone can edit the page/post without edit the included content The loaded content works as standalone page/post as well The […]

Read More

If you have used a custom query ( for example with query_posts()) before standard WordPress flow, you might reset the internal query to avoid the strange result in the sidebar or other sides:

Read More

In WordPress, you can organise the category with a relationship parent/child. This means that a single post belongs to multiple categories. Let’s see how to get the parent category of a post:

Read More

Administrator or subscriber? Let’s see a quick way to check it! Shorter Of course, you can check also the rest of WordPress roles, such as “subscriber” for example.

Read More