I’m considering having different headers depending on the area of the site. So thought it might be possible to tap into the template hierarchy (or at the very least,...
I watched a lot of courses about WordPress Development on Udemy. Also I’ve almost finished my “WordPress Development” track on Teamtreehouse, but I can’t understand one simple thing, because...
I’ve encountered a strange error while developing a custom theme. After finishing editing the template for a custom post type single view, I passed onto working at the template...
Been trying to get a nest of custom post type and taxonomy working (even took a look here) but couldn’t get it working 100%. Here is the thing, I...
On the home.php, which is in the same folder where style.css is kept I am try to call a template: <?php get_template_part( 'template-parts/content', 'home-default' ); ?> template-parts is a...
I currently have a global function in my functions.php file ein_error_log($message) { //push out $message to file... } But I want to start using it in my MU-Plugin directory...
Hello StackExchange WP_development 🙂 I am in a bit of a pickle with this one and i certainly hope you can consult me further. Im helping out with a...
Created my first custom theme from scratch and I’m trying to do a listing of all posts with the same tag. In tag.php I display all posts with that...
Some themes that I have seen such as the (famous) thesis or even a few other not so famous themes have just an index.php (which has nothing in it),...
I am creating a video-archive page for all the posts_format with video. Currently, I have: <?php $format = has_post_format('video', $post_id); ?> <?php if($layout != "fullwidth") { echo '<div class="page_inner">';...