Forum Replies Created

  • Sorry John I found the following code in my template for this group, do you know how I could edit it so that this group doesn’t display on my /online-store page too ?

    Many thanks!

        $pageid = null;
        if( is_home() && !is_front_page() ) {
            $pageid = get_option('page_for_posts');
        } else {
            $pageid = $post->ID;
    <div class="header-default-top-section">
        <div class="container">
            <div class="row">
                <div class="col-md-9">
                    <div class="content-box">
                        <?php if( get_field('main_title', $pageid ) ) : ?>
                            <h1><?php the_field('main_title', $pageid ); ?></h1>
                        <?php endif; ?>
                        <div class="parting"></div>
                        <?php if( get_field('text_beside_title', $pageid ) ) : ?>
                            <p><?php the_field('text_beside_title', $pageid ); ?></p>
                        <?php endif; ?>
  • No problem thanks a million for your help anyway John.

    I usually do my own slight editing of my site with content and WooCommerce etc but I think I better get my actual developers to have a look.

    All the best

  • Many thanks for your reply John.

    I know what page I don’t want them to be seen on and have set a rule group to what I think should hide them there however they still show.

    Do I need to actually alter the template code of my theme?

    Many thanks again in advance.

Viewing 3 posts - 1 through 3 (of 3 total)