Tagged: yigit
-
AuthorPosts
-
February 2, 2016 at 8:22 pm #576667
Hi there,
I’ve tried using this code that Yigit gave me awhile back and placing it in my child theme – but it doesn’t seem to stop the side navigation blocks showing up categories outside the category of posts I want displayed. Please can you have a look?
add_filter(‘avia_post_nav_settings’,’avia_same_category_filter’, 10, 1);
function avia_same_category_filter($settings)
{
$settings[‘same_category’] = true;
return $settings;
}Also, how do you change the colour of the side blocks? They’re too light at the moment.
Thanks
February 2, 2016 at 10:01 pm #576729Hi Krissie!
The code that you present to us is not properly.
That is because of the copying, so it seems not to also work.
can u please paste it on a pastebin.com so we can try fix it?Best regards,
BasilisFebruary 3, 2016 at 2:07 pm #577103Hi Basilis,
Yigit gave me the code along time ago? Maybe he can fix it?
Cheers,
Krissie
February 3, 2016 at 2:07 pm #577104Oh and how do I control the colour of the side navigation blocks? Cheers
February 5, 2016 at 6:52 am #578301Hi!
Could you please provide a link to the website? Note that if a post contains multiple categories, it will display other items with the same category. In order to have more control with the post navigation, limit the category of the posts to one.
Regards,
IsmaelFebruary 9, 2016 at 6:51 pm #580514Hi there,
Yigit helped me with some code a while back which controlled the navigation side blocks. It would be nice to have the code again as I’d like to only allow the users to search through growmybiz case studies when they click on a case study post from the Growmybiz page case study feed. This is possible as Yigit did it for me before.
Also, please can you answer about how I make the blocks darker? They’re not very noticeable at the moment.
Login details below.
Thanks,
Krissie
February 11, 2016 at 6:44 pm #581817Hey!
Please add following code to Quick CSS
#top .avia-post-nav { background: rgba(0,0,0,0.7); }
Also, post navigation seems to be limited to same category on my end. Have you figured it out already? :)
Cheers!
YigitFebruary 15, 2016 at 12:42 pm #583330Hey Yigit!
:)
No I just used the code you gave me? Unless someone has fiddled with it without me knowing?
Is the code you’ve given me to control the colour of the nav bars?
Thanks matey! :)
February 15, 2016 at 12:46 pm #583335Hey!
Yes, the code i posted above is to change opacity level of post navigation buttons on the side :)
0,0,0 is RGB value of the color and 0.7 is opacity levelBest regards,
YigitFebruary 15, 2016 at 12:48 pm #583337That’s wonderful, thanks Yigit.
And the code? It must be working then? I put it in the child theme function section. Is this right? Can you just check it for me?
If all okay, then we can close this thread? xFebruary 15, 2016 at 12:52 pm #583340 -
AuthorPosts
- You must be logged in to reply to this topic.