• Resolved koenman5534

    (@koenman5534)


    Hello everybody,

    if’ve come back from my weekend to find out my banner menu is not there anymore. Normaly i would have the menu between my editor and page option. But apon arrival today i found out it was gone. Pretty weird because my Banner.php is showing in my editor.

    I hope somebody can help me with this problem.

    Here is the code:

    <?php
    
     $Blefttitle = get_option('templatesquare_banner_left_title');
     $Blefttext = get_option('templatesquare_banner_left_text');
     $Bleftprice = get_option('templatesquare_banner_left_price');
     $Blefturl = get_option('templatesquare_banner_left_url');
    
     $Bcentertitle = get_option('templatesquare_banner_center_title');
     $Bcentertext = get_option('templatesquare_banner_center_text');
     $Bcenterprice = get_option('templatesquare_banner_center_price');
     $Bcenterurl = get_option('templatesquare_banner_center_url');
    
     $Brighttitle = get_option('templatesquare_banner_right_title');
     $Brighttext = get_option('templatesquare_banner_right_text');
     $Brightprice = get_option('templatesquare_banner_right_price');
     $Brighturl = get_option('templatesquare_banner_right_url');
    
     $DisableBanner= get_option('templatesquare_disable_banner');
     $sliderDisableslider = get_option('templatesquare_slider_disable_slider');
    ?>
    <?php if($sliderDisableslider==true){ $margin= "sparator";}?>
    <?php if($DisableBanner!=true){ ?>
        <div class="info-package <?php echo $margin; ?>">
            <?php if($Blefttitle !=""){ ?>
            <a href="<?php echo $Blefturl; ?>">
            <div class="four columns alpha">
            <div class="banner-line">
                <div class="package">
                    <h1><?php echo $Blefttitle; ?></h1>
                    <?php echo $Blefttext; ?>
                    <?php if($Bleftprice !=""){ ?>
                    <div class="price"><?php echo $Bleftprice; ?></div>
                    <?php } ?>
                </div>
            </div>
            </div>
            </a>
            <?php } ?>
            <?php if($Bcentertitle!="") {?>
            <a href="<?php echo $Bcenterurl; ?>">
            <div class="four columns">
            <div class="banner-line">
                <div class="package">
                    <h1><?php echo $Bcentertitle; ?></h1>
                    <?php echo $Bcentertext; ?>
                    <?php if($Bcenterprice !=""){ ?>
                    <div class="price"><?php echo $Bcenterprice; ?></div>
                    <?php } ?>
                </div>
            </div>
            </div>
            </a>
            <?php } ?>
            <?php if($Brighttitle!="") {?>
            <a href="<?php echo $Brighturl; ?>">
            <div class="four columns omega">
            <div class="banner-line">
                <div class="package">
                    <h1><?php echo $Brighttitle; ?></h1>
                    <?php echo $Brighttext; ?>
                    <?php if($Brightprice !=""){ ?>
                    <div class="price"><?php echo $Brightprice; ?></div>
                    <?php } ?>
                </div>
            </div>
            </div>
            </a>
            <?php } ?>
        </div><!-- .info-package -->
        <?php if($Blefttitle !=""){ ?>
        <hr />
        <?php } ?>
    <?php } ?>

Viewing 6 replies - 1 through 6 (of 6 total)
  • What theme are you using? Where did you download it from?

    Thread Starter koenman5534

    (@koenman5534)

    @esmi

    What theme are you using? Where did you download it from?

    It’s a custom theme at my internship location. They are using a custom theme, not very good or up-to-date in my eyes but i have to deal with it.

    here is a link to the site the theme is named “Omnia 2016”

    as you can see the “banners” are still there, i just fixed the CSS that was broken too.

    As this is a custom theme, there’s very little we can offer in the way of specific help. Sorry. ??

    Thread Starter koenman5534

    (@koenman5534)

    a well, atleast thanks for trying to help me!
    and have a nice day esmi.

    No problem. Sorry I couldn’t really offer much help. The only thing I can think of (and assuming you haven’t modified the theme yourself) is that you upload a completely fresh copy of the theme to wp-content/themes and see if that helps.

    Thread Starter koenman5534

    (@koenman5534)

    it sounds like one of the few options i have left, but also one of the few that could work. The PHP script is good for as far as i know. either way, thanks again

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Banner.php menu not showing’ is closed to new replies.