Support Forumdefault lead and archives – Support Forum https://support.ishyoboy.com/forums/topic/default-lead-and-archives/feed/ Wed, 08 May 2024 06:34:10 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/default-lead-and-archives/#post-1303 <![CDATA[default lead and archives]]> https://support.ishyoboy.com/forums/topic/default-lead-and-archives/#post-1303 Mon, 02 Dec 2013 18:47:31 +0000 joe Hello,

on post’s that have an certain age (or maybe it’s after number of n posts), the default lead section (title) is not displayed anymore when it is viewed.
While I figured out, how I can disable the default lead, I just don’t find the reason why it’s not displayed when you, for example, display the archives for let’s say June and click on one of the posts.

Please help me with that, also I would find it a quite useful option to enable/disable lead section theme-wide for defaults like it’s possible with other options.

thank you!

]]>
https://support.ishyoboy.com/forums/topic/default-lead-and-archives/#post-1308 <![CDATA[Reply To: default lead and archives]]> https://support.ishyoboy.com/forums/topic/default-lead-and-archives/#post-1308 Tue, 03 Dec 2013 11:11:29 +0000 IshYoBoy Hi,

It might be caused by the fact that the blog post has been created before the theme got activated. To fix this, its enough to edit the post and save it so all “metaboxes” including the Lead one could get initialized.

We will discuss your suggestion within the team.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/default-lead-and-archives/#post-1314 <![CDATA[Reply To: default lead and archives]]> https://support.ishyoboy.com/forums/topic/default-lead-and-archives/#post-1314 Tue, 03 Dec 2013 17:23:03 +0000 joe Hi,

no, the posts were imported from the old site, but I see…. programmed it into custom functions as there were too many posts to be updated manually and a sql update seemed to be more complicated.

thank you and if you have a better idea, please let me know!

bye

]]>
https://support.ishyoboy.com/forums/topic/default-lead-and-archives/#post-1315 <![CDATA[Reply To: default lead and archives]]> https://support.ishyoboy.com/forums/topic/default-lead-and-archives/#post-1315 Wed, 04 Dec 2013 07:27:35 +0000 IshYoBoy Hi Joe,

This is what I meant. The posts were not created inside Minicorp. We’ve dug a little and you are right. Older posts (created outside of Minicorp) should also contain the lead enabled by default. To fix this, please open the file:

wp-content\themes\minicorp\assets\framework\wp\options\custom-functions.php

and inside the function “ishyoboy_get_lead” on line 259 replace this line of code:

if ( ( 'true' == IshYoMetaBox::get('ishyoboy_display_lead', true, $id) ) ){

with

This will detect posts which do not have the metabox value initialized. So the Lead will be displayed.

This will be part of the next update so the change is update safe even though you are updating the main (parent theme).

Hope this helps,
Cheers.

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>