new supreme directory pages
This topic contains 34 replies, has 4 voices, and was last updated by valdice14 7 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
September 26, 2017 at 1:42 pm #397425
You are welcome 🙂
September 26, 2017 at 10:59 pm #397550Hi giri don’t heat me please!
I try without success to exclude:
post_profile page: http://findercoach.com/places/italy/lombardia/milano/calcio/nucera-rocco-2/
single article page: http://findercoach.com/2017/09/26/175/
categories articles page: http://findercoach.com/category/calcio-2/I hope i’ve done with this because i tink there are no other pages on my website 😐
Thanks a lot in advance
September 26, 2017 at 11:18 pm #397555and page not found too: http://findercoach.com/author/?geodir_dashbord=true&stype=gd_place
September 27, 2017 at 9:57 am #397632Hi giri, pls ignore my last 2 replies.
I need to fix with featured area in:
http://findercoach.com/places/italy/lombardia/milano/calcio/nucera-rocco-2/
http://findercoach.com/author/?geodir_dashbord=true&stype=gd_placeI need to fix with static header without featured area in:
http://findercoach.com/2017/09/26/175/
http://findercoach.com/category/calcio-2/Thx again in advance
September 27, 2017 at 3:36 pm #397692Hi there,
Apologies. All your replies are found in my spam folder.
This seems like a single post.
http://findercoach.com/2017/09/26/175/
So you need to use
is_single()
This seems like a category
http://findercoach.com/category/calcio-2/
So you need to use
is_archive()
So final code would be
function sd_custom_header_body_class($classes) { if ( geodir_is_page('add-listing') || geodir_is_page('listing') || geodir_is_page('search') || geodir_is_page('author') || geodir_is_page('location') || geodir_is_page('preview') || geodir_is_page('listing-success') || geodir_is_page('info') || geodir_is_page('login') || geodir_is_page('checkout') || geodir_is_page('invoices') || is_archive() || is_single() ) { return $classes; } if (!in_array("sd-homepage", $classes)) { $classes[] = 'sd-homepage'; } return $classes; } add_filter('body_class', 'sd_custom_header_body_class');
Hope that helps
September 27, 2017 at 4:44 pm #397711thx giri, you dont need to apologize, you have made a lot of work for me.
we are near the goal.
i still missing featured area in
http://findercoach.com/author/?geodir_dashbord=true&stype=gd_place that is page not found redirectionand in
http://findercoach.com/2017/09/26/175/
http://findercoach.com/category/calcio-2/
now i have the correct grey header but i need to remove featured areathx a lot!
September 28, 2017 at 12:01 pm #397855i still missing featured area in
http://findercoach.com/author/?geodir_dashbord=true&stype=gd_place that is page not found redirectionTry removing this line.
|| geodir_is_page('author')
and in
http://findercoach.com/2017/09/26/175/
http://findercoach.com/category/calcio-2/
now i have the correct grey header but i need to remove featured areaYou mean, you want to completely get rid of that featured area?
September 28, 2017 at 2:47 pm #397891Try removing this line.
|| geodir_is_page(‘author’)
Already tryied but don’t work, but it seems that nothing change in all page types.
|
|You mean, you want to completely get rid of that featured area?
yes, but i would like to keep the grey background
thx again
September 30, 2017 at 10:50 am #398224any news giri? :p
September 30, 2017 at 12:30 pm #398247Hi Valdo,
Giri is off till Tuesday, if you can explain what is still outstanding and provide wp-admin i will take a look.
Thanks,
Stiofan
September 30, 2017 at 12:38 pm #398249Hi Stiofan thx for reply, actually, after Giri implementation i need to:
Improve featured area like other gd-pages in http://findercoach.com/author/?geodir_dashbord=true&stype=gd_place page that is page we got as page not found
Remove featured area keeping the header with the grey background like /place/ section actually does in http://findercoach.com/2017/09/26/175/ and http://findercoach.com/category/calcio-2/
If u need wp-admin i must create an user for you and give you credential privatly?
thx in advance
valdoSeptember 30, 2017 at 12:44 pm #398252Hi valdo,
The first link is not a link to a user profile, if you have Yoast installed that might be the problem if you have user archives turned off?
Yes you can create a user for me and post it here and tick the “set as private reply” and only staff will be able to see it.
Thanks,
Stiofan
September 30, 2017 at 1:19 pm #398259This reply has been marked as private.September 30, 2017 at 1:50 pm #398261This reply has been marked as private.September 30, 2017 at 2:29 pm #398268This is a correct link to a author page, and it works as expected: http://findercoach.com/author/stiofan/?geodir_dashbord=true&stype=gd_place
On these pages you want the header removed?
http://findercoach.com/2017/09/26/175/ and http://findercoach.com/category/calcio-2/Where is the code Giri gave u?
Stiofan
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket