There are certain posts on the website I’m developing, that don’t need the author(s) by-line. (such as press releases) Is there any method, ...
-
May 24, 2022
- 0 Comments
I’ve been trying for a while now to make it so that there is nothing shown if there are no Related Posts. Currently ...
-
May 24, 2022
- 0 Comments
In opposite to get_post_format, the conditional has_post_format() function returns a boolean value and should be the perfect function for a conditional check like: ...
-
May 24, 2022
- 0 Comments
I like to do a bunch of stuff only on homepage and archive pages i am working with the genesis framework (not really ...
-
May 24, 2022
- 0 Comments
I have this specific tag I need to assign to my posts but I need to hide it from regular visitors so that ...
-
May 24, 2022
- 0 Comments
Accordingly to the is_page documentation, supplying the slug as an argument WP can tell me whether the current page is the one represented ...
-
May 24, 2022
- 0 Comments
I’ve created a function to add a class to the body, however if should only apply to a single page ID. This normally ...
-
May 23, 2022
- 0 Comments
How to check if an action is already fired in a function for example: function foo() { // checking if the action 'wp' ...
-
May 23, 2022
- 0 Comments