Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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.

    #1295281

    Hi 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,
    Nikko

    #1295356

    Yes, 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.

    #1295544

    Hi 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-url

    Why 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,
    Nikko

    #1297687

    Sorry 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

    #1297829

    Hi 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.