Your address will show here +12 34 56 78

Home Forums Blog Post Default Slider Option and Header Change

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 3 years, 6 months ago.

  • Author
    Posts
  • #31129

    Anna
    Keymaster

    The theme puts the mini slider on new posts by default, this is unusual and annoying my client. Extra features like maps and sliders should be opt-in not opt-out 😉  How do I set it to default as normal post with no slider?  If you need to bill us for this let me know.

    —–> Go to metaboxes.php – line ~222

    You have this code

    $option = ”;
    $title_values = array(‘yes’, ‘no’);
    $group_pictures = get_post_meta($post->ID, ‘group_pictures’, true);

    Replace yes with no, and default positions/values will change

    $option = ”;
    $title_values = array(‘no’, ‘yes’);
    $group_pictures = get_post_meta($post->ID, ‘group_pictures’, true);

    Then go in single.php and replace or comment the header

    <!– Google Map Code –>
    <?php
    get_template_part(‘libs/templates/map-template’);
    ?>
    <!– Google Map Code –>

You must be logged in to reply to this topic.