Shortcode for blogroll/links in Pages
-
In the absence of tags or categories for pages I wondered if you might create a short code that would allow us to output links by category. Something like this
I tried this manually just pasting a search string in as links as an alternative to the missing tags i.e.
//mysite.com/?s=search+terms
which works but manually editing that html on each page would be a pain to maintain. I figure creating link categories and links would be an acceptable workaround if there is some security reason Pages can’t have tags/categories link the blog pages.
The blog I need help with is: (visible only to logged in users)
-
clarification: the items I point to with red arrow are links. i.e.
Characters > Character description page
Johnny Apple > Goes to specific character’s pageso
Category
Link -
Hmm… actually just found the Display Posts shortcode and will experiment to see if I can get what I want with that.
-
-
It doesn’t seem to be what I want though it is interesting.
Basically I have some non-sequential chapters. I thought I would add an information or summary box that would list some basic data associated with that chapter i.e.
characters – what characters appear in the chapter
location – where does it take place
etcSo the data has to be associated with the page in a
Group
Item
Itemtype setup.
It looks like your Category or Links would allow that type of relationship but not able to add them to the page. The tags are already in the page code but I don’t see how they can be output to a page
I suppose I can look at rebuilding the site with posts instead of pages to use the Categories.
-
I suppose I can look at rebuilding the site with posts instead of pages to use the Categories.
For sure – but either way, I’ll submit your idea to our development team and see if it is a feature they would like to add. Thank you for the suggestion and if I hear back from them, I will be sure to let them know.
Thanks,
-
Thank you. I checked out the Posts as well but can’t quite get there. I’ll create a template and use static html for now but appreciate you passing it on.
-
- The topic ‘Shortcode for blogroll/links in Pages’ is closed to new replies.