Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #383734

    When i go to appearance/menus and add a new page as menu item and then click save menu….the menu item is saved as custom menu and destroys the website menu.How can i fix this?
    Login and try to put an new menu item in the main menu and see what happens

    #384186

    Hey!

    Install this plugin and check if you have reached your menu item limit.

    Cheers!
    Josue

    #384461
    This reply has been marked as private.
    #384580

    Hi!

    1. Refer to this topic:
    https://kriesi.at/support/topic/sidebar-for-search-results/

    2. Please elaborate, a mockup of what you want to achieve would be helpful.

    3. I’m not seeing that widget anywhere on your site.

    Cheers!
    Josue

    #385292
    This reply has been marked as private.
    #385641

    Hi!

    You can use the following filter to add a custom content to all pages using ALB (after content):

    add_filter('avf_template_builder_content', 'add_custom_content_after', 10, 1);
    function add_custom_content_after($content = "")
    {
    	$content .= '<div>Custom Text Here</div>';
    	return $content;
    }
    

    Cheers!
    Josue

    #386052
    This reply has been marked as private.
    #386058

    Hey!

    Yes, you’d need to wrap the text with _e:

    add_filter('avf_template_builder_content', 'add_custom_content_after', 10, 1);
    function add_custom_content_after($content = "")
    {
    	$content .= '<div>'._e( 'Custom Content.', 'my_textdomain' ).'</div>';
    	return $content;
    }

    Regards,
    Josue

    #386083
    This reply has been marked as private.
    #386134
    This reply has been marked as private.
    #386247

    Hi!

    Yes, you should add the code to Functions.php file in Appearance > Editor. It will appear above Footer section

    Best regards,
    Yigit

    #386296
    This reply has been marked as private.
    #386762

    Hi!

    Use this instead:

    add_filter("avf_template_builder_content", "add_custom_content_after", 10, 1);
    function add_custom_content_after($content = "")
    {
    	$content .= "<div>".__("Custom Content", "text_domain")."</div>";
    	return $content;
    }

    Regards,
    Josue

    #386853
    This reply has been marked as private.
    #387033
    This reply has been marked as private.
    #387469

    Hey!

    In that case you’d need to edit footer.php (you can have this on a child theme) and put the HTML content there, before the <footer> opening.

    Cheers!
    Josue

    #387566

    and how i will translate the ccustom html if i put the below before the footer?

    <div custom1>custom content which will be able to translate in the future</div>
    <div custom2>custom content which will be able to translate in the future</div>

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