-
AuthorPosts
-
April 17, 2021 at 4:06 pm #1294910
Hello, I would like to add an html code in my categories to create a drop down menu with links. When I enter the code in the categories it doesn’t work.
April 19, 2021 at 1:30 pm #1295281Hi eleonorabienno,
Can you give us more context on what you want to achieve?
When you mentioned categories, are you referring to the post’s category pages?Best regards,
NikkoApril 19, 2021 at 9:58 pm #1295356Yes, i mean in post category (link in private content).
Also, Is it possible to remove /tag/ in permalinks?
Why do suggestions appear in the mobile search bar, while not on the desktop site?
Thanks for your time and sorry for the many questions.
April 20, 2021 at 2:05 pm #1295544Hi eleonorabienno,
Yes, i mean in post category (link in private content).
For this to be possible, you’ll need to use a child theme (so tweaks on the file/s will not be removed during a theme update)
You can download and find instructions on how to use the child theme here: https://kriesi.at/documentation/enfold/child-theme/
Then you’ll need to copy archive.php (from enfold) to the child theme, then tweak archive.php (in child theme), I believe you want to add it below this code (line 30):<main class='content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'post'));?>>
Hope this is helpful.
Also, Is it possible to remove /tag/ in permalinks?
Can you try to do the suggestion in this article: https://www.phpweb.info/wordpress/remove-category-tag-base-wordpress-urlWhy do suggestions appear in the mobile search bar, while not on the desktop site?
I tested it and it does work on desktop (I’m referring to the search beside Codici sconto), the one in the sidebar above Categorie does not.Thanks for your time and sorry for the many questions.
No worries :)Best regards,
NikkoMay 1, 2021 at 11:10 am #1297687Sorry but this doesn’t work:
<main class=’content <?php avia_layout_class( ‘content’ ); ?> units’ <?php avia_markup_helper(array(‘context’ => ‘content’,’post_type’=>’post’));?>>When I add html it seems to work, but as soon as I update the category, the html is converted to plain text.
How can I do? Thank you
May 3, 2021 at 3:20 am #1297829Hi eleonorabienno,
I can’t seem to replicate the issue.
Can you give us temporary admin access? as well as the page/category that the issue is showing so we can try to tweak the code.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.