-
AuthorPosts
-
August 23, 2016 at 4:00 pm #676493
Dear Kriesi Team,
I search for a possibility to navigate into posts just with prev / next / main and the opportunity to add this inside any post.
See Link on the right side. Is this possible to add in form of a small code?Thanks for helping out.
FritzAugust 23, 2016 at 4:02 pm #676495Hey Fritz_Ott!
Can you please elaborate on the changes you would like to make?
Enfold already has a post navigation on the sides of single posts as you can see an example here – http://kriesi.at/themes/enfold/2014/04/28/new-studie-shows-vacations-are-needed/Best regards,
YigitAugust 23, 2016 at 4:08 pm #676501Thank you for ultrafast answering.
I know that Function. I would prefer for the actual Project to make it minimal just with prev/next Icon and in the Middle an Icon where I can link to the Portfolio overview….And Ideal on the Right Side in the 1/3 Container…
Is that possible?
FritzAugust 23, 2016 at 4:19 pm #676511Hi,
Would you mind posting us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)
Best regards,
YigitAugust 24, 2016 at 9:56 am #676876Dear Yigit,
Thank you for the Answer.
Here is what I whish to do:Thank you for your Answer!
August 24, 2016 at 12:59 pm #676927Hi,
Please add following code to functions.php file in Appearance > Editor and then [custom_post_nav] shortcode to your content where you would like to display the buttons.
function avia_custom_post_nav(){ return '<p><a href="'. get_previous_posts_link().'"><img src="http://w-site.ch/decap/wp-content/uploads/2016/08/arrow.jpg" alt="arrow" width="24" height="25" /></a><a href="http://w-site.ch/decap/"><img src="http://w-site.ch/decap/wp-content/uploads/2016/08/sc-portfolio.png" alt="sc-portfolio" width="20" height="20" /></a><a href="'. get_next_posts_link().'"><img src="http://w-site.ch/decap/wp-content/uploads/2016/08/arrow2-1.jpg" alt="arrow2" width="24" height="26" /></a></p>'; } add_shortcode( 'custom_post_nav', 'avia_custom_post_nav' );
Best regards,
Yigit- This reply was modified 8 years, 4 months ago by Yigit.
-
AuthorPosts
- You must be logged in to reply to this topic.