Post settings doesn't work in Modern theme

Home Forums Legacy Support Support queries Other issues Post settings doesn't work in Modern theme

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #8560
    isigma
    Spectator
    What can cause the problem when post settings doesn't work? It doesn't matter what settings I use, I only see an author's photo + title over the featured image, centered text area, and no other info or sidebars.
    #8604
    isigma
    Spectator
    I was surprised to find that single-post.php in modern theme doesn't even have the code to respond to post settings... :) I decided to make my own post design as the result. BTW Is there  way in theme to change defaults for post settings, so new posts will have those specific settings already set up?
    #8612
    MrVibe
    Keymaster
    Well, yes, single-post.php in modern theme does not respond to the post settings. Because most of the settings do not apply in the Modern theme's design. In case there is something particular where we can help you, do let me know.
    #9428
    isigma
    Spectator
    <span style="color: #4b4d4d; font-family: Lato; font-size: 14px; line-height: 22px;"> Is there  way in theme to change defaults for post settings, so new posts will have those specific settings already set up?</span>
    #9596
    Anshuman Sahu
    Keymaster
    Please mention which settings you want to be already set .
    #9846
    isigma
    Spectator
    <span style="color: #23282d; font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: bold; line-height: 18.2px;">Post Template - Content on left</span> <span style="color: #23282d; font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: bold; line-height: 18.2px;">Sidebar - Mainsidebar</span> <span style="color: #23282d; font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: bold; line-height: 18.2px;">Show Page Title - show</span> <span style="color: #23282d; font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: bold; line-height: 18.2px;">Show Author Information - hide</span> <span style="color: #23282d; font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: bold; line-height: 18.2px;">Show Breadcrumbs - hide</span> <span style="color: #23282d; font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: bold; line-height: 18.2px;">Show Prev/Next Arrows</span> Thank you
    #9910
    Anshuman Sahu
    Keymaster
    Add he given code in your wplms-customizer.php file in wplms customizer plugin  : add_filter('wplms_post_metabox','custom_wplms_post_metabox'); function custom_wplms_post_metabox($post_settings){ $post_settings['vibe_breadcrumbs'] = array( // Single checkbox 'label' => __('Show Breadcrumbs','vibe-customtypes'), // <label> 'desc'  => __('Show breadcrumbs.','vibe-customtypes'), // description 'id'  => $prefix.'breadcrumbs', // field id and name 'options' => array( array('value' => 'H', 'label' =>'Hide'), array('value' => 'S', 'label' =>'Show'), ), 'std'   => 'H' );   $post_settings['vibe_prev_next'] = array( // Single checkbox 'label' => __('Show Prev/Next Arrows','vibe-customtypes'), // <label> 'desc'  => __('Show previous/next links on top below the Subheader.','vibe-customtypes'), // description 'id'  => $prefix.'prev_next', // field id and name 'type'  => 'showhide', // type of field 'options' => array( array('value' => 'H', 'label' =>'Hide'), array('value' => 'S', 'label' =>'Show'), ), 'std'   => 'S' ); return $post_settings; }    
    #9918
    isigma
    Spectator
    thank you
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Post settings doesn't work in Modern theme’ is closed to new replies.