I want to use next-previous link of the portfolio to works only within same category of portfolio…
I try to change it by myself but it is not working:
I try to change php file using <?php previous_post_link(‘%link’, ‘Previous in category’, TRUE); ?> but it is not working
Could you give me proper code for this?
Our apologies for the delayed reply.
I have forwarded this to the developer to check if there is any workaround to this.
My apologies for the delay on this, I’ve struggled to find time to take a look. I believe I’ve now found a solution.
The code needed was:
next_post_link( '<span class="alignright">%link →</span>', '%title', TRUE, ' ', 'portfolio_category' );
- This reply was modified 3 months, 3 weeks ago by Andy.
Did you changed function-core.php?
Yes, it works 🙂
What to do to make that you-theme could read functions-core.php file and another files from “themes/you-child” theme directory
Now it wasn’t
It only read file from “themes/you” directory
- This reply was modified 3 months, 3 weeks ago by akartstudio.
Yes that is the file that was updated.
Can you please try to move a copy of functions-core.php to yur child theme and check if that works for you?
You must be logged in to reply to this topic.