Home › Forums › Legacy Support › Support queries › Other issues › Post settings doesn't work in Modern theme
- This topic has 7 replies, 3 voices, and was last updated 9 years ago by isigma.
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
November 14, 2015 at 2:56 am #8560isigmaSpectatorWhat 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.November 14, 2015 at 8:32 am #8604isigmaSpectatorI 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?November 14, 2015 at 9:48 am #8612MrVibeKeymasterWell, 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.November 18, 2015 at 9:56 pm #9428isigmaSpectator<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>November 19, 2015 at 2:49 pm #9596Anshuman SahuKeymasterPlease mention which settings you want to be already set .November 20, 2015 at 6:25 pm #9846isigmaSpectator<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 youNovember 21, 2015 at 7:31 am #9910Anshuman SahuKeymasterAdd 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; }November 21, 2015 at 7:52 am #9918isigmaSpectatorthank you
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
- The topic ‘Post settings doesn't work in Modern theme’ is closed to new replies.