• Resolved Fabio G

    (@fabio-g)


    Hi,
    I’m using a page in About Section of Home page where I’ve a shortcode that should show two login fields.
    The shortcode works on its inner page, but in the home page I see the square brackets shortcode.

    It seems that in home page it doesn’t succeed to converting it.
    Please, can you help me to solve it?
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author 8Degree Themes

    (@8degreethemes)

    Hello Fabio,
    Sorry! This theme doesn’t support shortcodes in homepage. To make it support we need to change codes. So, We will make it compatible in future updates. If you need to make this compatible now then we will help you to change it. You can follow the following steps to recover this issue:
    – Go to Admin Dashboard-> Appearance -> Editor
    – In the top right of the screen Select Eight Sec theme to edit.
    – In right sidebar of the editor, find the the Homepage Page Template(tpl-home.php) and click on it to edit the template code.
    – Then find the code: <?php echo $page_data->post_content;?> and replace with <?php echo apply_filters( 'the_content', get_post_field('post_content', $page_data->ID) );?>
    – And Update the file.
    Above steps will fix your issue. If you don’t understand or have no confidence to follow above steps then please don’t work on it. We will update our theme in next week.
    Thank you!!

    Thread Starter Fabio G

    (@fabio-g)

    It works perfectly, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode in About Section’ is closed to new replies.