Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
haroldparis
tagDiv Member

Nice !

Works perfectly this way :

$td_smart_list = td_util::get_post_meta_array(get_the_ID(), ‘td_post_theme_settings’);
if (!empty($td_smart_list[‘smart_list_template’])) {
// whatever
}

Thanks a lot Catalin !

haroldparis
tagDiv Member

Hi Simion,

Exactly, I have a block of content that I add on every post at the beginning through loop-single-X.php.

I don’t want to show this block of content on posts which are using Smart List.

What I want to do is something like :

if ( !is_smart_list() ) {
// add my block of content
}

I’m looking for the equivalent of !is_smart_list() or something similar to use it as a condition to show or not show this block of content. 🙂

Cheers !

haroldparis
tagDiv Member

Hi, thanks for the answer.
Actually, I unloaded the menu completely on those specific pages/categories/postsfromcategory in header-menu.php : https://www.evernote.com/l/AEj8WTuYVFZB5K15X_6upm_16eYR7DocuAQ
Works perfectly.
Cheers !

haroldparis
tagDiv Member

Hi Bogdan,

Quick question. I still got the little arrow right to the category name. Do you know if we can get rid of it as quickly when we use this code ?

haroldparis
tagDiv Member

Hi there !

Thanks a lot. Exactly what I was looking for.

Cheers !

Viewing 5 posts - 1 through 5 (of 5 total)