What part of template to edit to remove category name from the top of posts?
In the “Twenty Twenty” template I cannot figure out how to remove the display of category name(s) from the top of posts.
In the “Twenty Twenty” template I cannot figure out how to remove the display of category name(s) from the top of posts.
this is a follow up question to this post Exclude a category from the filed under list
I’ve built a small app with Lumen and now I want to include it on my wordpress site. However I have difficulty getting it to work. My approach was making a custom template and using it on a post with the URL I want. This is how it looks:
I am currently developing a theme in wordpress for learning purposes.
I checked everything suggested in that response: “page attributes” option is checked, template file is located at theme root folder, I tried several file encoding options in my text editor (UTF8 with or without BOM), I tried switching to another theme then back to my custom theme, I do have the right stuff on top:
I have a custom taxonomy term page set up to display posts associated with that term (taxonomy-insight_type-academia.php). I figured I could use the following to limit the posts on that page based on code found here:
I have a specific CSS-file for my search results, so the search.php template. I want a PHP if-condition to determine if the current template is the search.php template, so that I can load that CSS-file with wp_enqueue. The condition should work in the functions.php file.
I’ve found this to display the current name of the file used in template:
I have a very peculiar requirement, hopefully, I can explain it without being too confusing. I created a page template where I list some properties I get from an external XML file, so far no problems, let’s say the URL is like this:
When you activate a wordpress theme, it’s always a hassle to find out which file to go to change things.
Any idea how to simplify things?