mislavjuric
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: TwentyTwenty: Post page: next and previous link from same categoryHey @jcastaneda,
I did it. I followed this tutorial to make a child theme and I
get_next_post()
andget_previous_post()
functions in navigation.php file. I made sure to have the same directory structure as in the original theme.For someone that doesn’t code, the two lines I had to modify look like this after modification (lines 10 and 11):
$next_post = get_next_post(true); $prev_post = get_previous_post(true);
Thank you @jcastaneda! I do have to admit that I skipped the 5th step. ??
Best,
Mislav- This reply was modified 4 years, 3 months ago by mislavjuric.
Forum: Fixing WordPress
In reply to: TwentyTwenty: Post page: next and previous link from same categoryHey @jcastaneda,
thank you for responding.
I understand that I need to set the
in_same_term
parameter on bothnext_post_link()
andprevious_post_link()
to true if I want to enable that functionality. What I don’t know is how to create a child theme.I would not like to experiment with WordPress tutorials from the wild because I may break my website following them.
Could you provide a full-blown, step-by-step tutorial on how to do this? I think it’d be best for me and anyone looking for this later on.
Best,
MislavHey Adam (@wpmudev-support8 ),
that fixed my problem. Thank you.
@wpmudev-support1 Hey there Predrag,
here is the link to a Google Drive folder where the exported files reside: https://drive.google.com/open?id=1Q1U6IhhuFS3ZIBFuRaVvzFf2MdXlDDvQ
Best,
Mislav@jarretc Submitted a ticket. Thank you for your explanations and support.
@jarretc Could you elaborate more on the Trac ticket process? I think I’ll opt in for that route.
@jarretc where can I find the transparent PNG images where the image is completely free to use, that is I don’t have to credit the author of the image?