Tagged: x
-
AuthorPosts
-
December 20, 2016 at 6:05 pm #1299884
ctrlspatieParticipantHello,
For a client I need to implement a list of references which contains the following:
– Title
– Short description
– Link to the external referenceMy current thought is the following:
1. Put the list in a post, retrieve it using:$references_post = get_post($id); $content = $references_post->post_content;etc.
2.add_shortcode()&add_filter()in functions.php
3. use the shortcode in a sidebar text-widgetCan you please advise on this apporach, and suggest better solutions if there are.
Best regards,
December 21, 2016 at 1:45 am #1300218
LelyModeratorHello There,
Thanks for posting in.
Your approach is fine and will give you total control on how you want it to appear on your sidebar.
I also found this:https://wordpress.org/plugins/page-in-widget/. No coding needed just use a page instead. Just note that integration issues should be directed to plugin developer. Thank you for understanding.December 21, 2016 at 3:15 am #1300270
ctrlspatieParticipantThis reply has been marked as private.December 21, 2016 at 3:25 am #1300281
LelyModeratorYou’re welcome!
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1299884 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
