• Resolved cleej112

    (@cleej112)


    Hi there

    I love the look and feel of the Enigma theme but have no use for the blog section of the theme. When I follow the instructions to remove/disable it from other topics what I find is that it also disables my callout section, which is important.

    In the home.blog php the first section looks like it’s all about the blog area itself but at the end there’s the small section with the callout area.

    When I remove the top part the callout area still shows the background color but no text and no button.

    http://www.danielles-designs.com/
    (site in progress)

    THANKS!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Have you totally , edited you main theme files?

    Thread Starter cleej112

    (@cleej112)

    I did some editing before I uploaded from a zip before I realized that I could use the custom CSS section to change the header/footer colors. Other than that I’ve only made changes that were recommended on the forums here.

    As far as this particular change goes, this is what I did in front-page.php

    //get_template_part(‘home’,’blog’);

    Just added the “//” in front

    Hi cleej

    Thanks for using our theme.

    Best option of theme customization is child theme.

    First create a child theme after that customize the theme.

    Thanks

    Thread Starter cleej112

    (@cleej112)

    Created a child theme. Now what?

    Copy the front-page.php file and paste in child theme directory.

    After that remove the code of you want to hide.

    Save the changes.

    Thanks

    Thread Starter cleej112

    (@cleej112)

    I did that, and the result was the exact same as what I said in the first post I made. The Callout section is embedded somehow inside the blog section. Can I remove the blog while still keeping the callout?

    Remove the blog section PHP code from home-blog.php file.

    Thread Starter cleej112

    (@cleej112)

    I’m sorry but I feel like you’re not really reading my posts before you respond. I’d love to get some help on this.

    When I remove the section that deals with the blog from home-blog.php, I also lose the functionality of the Callout, if I remove the blog section from the front-page.php, both are removed.

    Replace the code line number 1 to 98 by given code
    <?php $wl_theme_options = weblizar_get_options(); ?>

    Remaining code is call out code.

    For example :

    <?php $wl_theme_options = weblizar_get_options(); ?>

    <div class=”enigma_callout_area”> ——— call out area code ———-

    </div>

    Save the changes.

    Thanks

    Thread Starter cleej112

    (@cleej112)

    PERFECT!!! That worked thank you so much!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Remove Blog section while keeping Callout Area’ is closed to new replies.