Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #248603
    bl
    Participant

    Hi.

    I updated the theme

    and applied a shortcode for another slider in the header.php
    i placed the shortcode after do_action( ‘create_after_header’ );

    and now i get this line under the slider on the webpage. https://www.klosterkaelderen.beer/

    /** * create_content hook * * @hooked create_content_start – 10 * @hooked create_intro_sidebar – 20 */ do_action( ‘create_content’ );

    how do i remove that line from the webpage.

    #248627
    Skandha
    Participant

    @bl: Hello there,
    I suggest you not to edit core theme files directly as the edits you make will be lost when you update the theme to newer versions. Please create a child theme first if you have to edit core theme files.

    The code maybe showing up because is not inside opening and closing php tags. Can you let me know what you are trying to achieve by adding the shortcode so that I can help you out?

    Kind Regards,
    Skandha

    #248630
    bl
    Participant

    Hi.

    i have added this shortcode.

    echo do_shortcode ( ‘[smartslider3 slider=2]’ );
    ?>

    to show smartslider on the webpage https://www.klosterkaelderen.beer/

    #248725
    Skandha
    Participant

    @bl: Hello there,
    I will need to look into your site to debug the issue. I will contact you shortly through email.

    Kind Regards,
    Skandha

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Updated theme and applied a shortcode’ is closed to new replies.