Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1079745

    Hi,

    I’ve been trying to add some php supplied from your documentation (and elsewhere) to the child theme’s functions.php via WP > Appearance > Theme Editor, but I keep getting a “Something went wrong” error message from WordPress.

    This has happened with the following php:

    Add search shortcode
    add_shortcode(‘avia_search’, ‘get_search_form’);

    Adding header widget area
    add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ );
    function enfold_customization_header_widget_area() {
    dynamic_sidebar( ‘header’ );
    }

    And adding a LinkedIn insight tag to the global footer.

    Thanks,

    Val

    #1080672

    Hey Valentine,

    Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

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