Hi I have question about file names. If I have custom post type, and for template I can create for example single-portfolio.php and get content of portfolio posts into...
  • May 23, 2022
  • 0 Comments
Is there a way of loading a template file without having a post? I’m loading set of data via an API. Set up my index page but having a...
  • May 23, 2022
  • 0 Comments
I have found a tutorial online for creating a custom categories template for my archived posts within a particular category. This however is targetting a specific category ID (see...
  • May 22, 2022
  • 0 Comments
My front-page.php works fine in the WordPress root folder. But I would like to put it in the page-templates subfolder. How do I make it load from there? 1...
  • May 22, 2022
  • 0 Comments
My Issue: If I browse to http://mysite/category/mycategory, the if (is_category()) content isn’t displayed, the if(is_archive()) is shown instead. My code: archive.php: <?php include('includes/resultlist.php')?> search.php: <?php include('includes/resultlist.php')?> includes/resultlist.php: <?php get_header();...
  • May 21, 2022
  • 0 Comments
I like to create a landing page for my custom taxonomies. Right now ive created three custom taxonomies /country/[terms] /person/[terms] /interrests/[terms] i like to create a listing page for...
  • May 21, 2022
  • 0 Comments