David Beja
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyyes, you could do like that. it should work.
but did you try also to remove the query_var parameter?Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyTry to remove the the query_var parameter when you are registering the topic taxonomy.
The possible values of query_var should be false or a string.
If you don’t define query var it defaults to taxonomy’s name.Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyit seems the problem is that wp_list_categories is writing the taxonomy name with the first letter capitalized. If it’s not capitalized it works ok:
https://client.ocularconcepts.us/welead/?taxonomy=topic&term=employee-motivation
But I don’t understand why it’s happening.
Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyNo, that’s a wrong approach.
Where did you define the function wp_list_categories? In what file?
Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyI think it’s related to the way you are writing the urls.
The links of the topics should be somethink like this:
https://client.ocularconcepts.us/welead/topic/personal-leadership/
Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyAbout the other problem of the taxonomies, in what pages can I check that problem?
Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyAbout the other problem, if you’re talking about the warning errors with the header, usually is because you have some extra spaces before an opening <?php tag or after a closing ?> tag. It generally happens in wp-config.php.
Check this link: https://codex.www.ads-software.com/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F
Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyYou shouldn’t never put you login here!!!
It’s a big risk… anyone can read this forum and do some harm to your site/server.Please change your password!
Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyDo you have an url where I can see that?
Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyyes, it should go to taxonomy.php.
you can also create a taxonomy-topic.php, if you want to create a template only to topic taxonomy.What is happening? Nothing shows up or another template is being loaded?
Forum: Themes and Templates
In reply to: [Sliding Door] How can I change the color of menu bar?good ??
Forum: Themes and Templates
In reply to: [Sliding Door] How can I change the color of menu bar?In Appearence > Edit CSS, you add the following css:
#access { background: white; }
That will make the menu bar background color white.
Forum: Themes and Templates
In reply to: How can I display all categories added under my custom taxonomyTo list all categories from topic taxonomy:
<ul> <?php wp_list_categories( 'taxonomy=topic' ); ?> </ul>
If you want to show all the categories, even the ones that are empty add the parameter hide_empty=0.
More details here: WP List Categories
Forum: Themes and Templates
In reply to: Adjust excerpt length to certain heightsame ideia wpyogi ??
Forum: Themes and Templates
In reply to: Adjust excerpt length to certain heightWhat if you define a bigger excerpt length and put the text inside a div with overflow: hidden ?
You could define a line-height for that div, and the height would be a multiplier of the line-height, so that a line of text wouldn’t appear in half.Just an ideia…