[Resolved] Formatting Issues/Link to page
I wrote some stuff in another thread about linking tiles to specific pages and selecting their photos and what-not. the “link [post] to page” plugin solution that another user offered seems to be helping me towards my end goal. Now, however I’m running into some serious issues with the shortcode commands.
The specific page I’m working on is: http://tonymckendry.com/?page_id=15
I’ve placed 3 instances of tiles on this page to illustrate the problem I’m having, hopefully you (or someone) will see this and be able to help me; I’m probably overlooking something stupid.
Here are the shortcodes I have placed on the page.
‘[wp-tiles template=”Home” posts_query=’category:Photography’]
I’m trying to use Post Categories to isolate the pages that I would like tiles made for in any particular instance. In the first group of tiles, the 2 main tiles are correct, they are linked to the correct posts, these are the only two tiles that should be showing as there are only 2 posts in the category, yet the rest of my posts show up too in the smaller boxes below. (Also, Is the use of the colon with the category modifier correct? as opposed to using an equal sign like in the examples?)
The second set of tiles is the ‘post_query’ example from the settings panel. I can change the ‘numberposts’ value and the number of tiles shown will change. For some reason, this command will not work in conjunction with the ‘Category’ command.
The final line of code represents what I think the shortcode I use should be. I need to display 2 (or any specified number) of tiles, using only posts from the ‘photography’ category. I don’t even necessarily need to be able to specify how many tiles should be displayed, I just would like it to only use the category called and exclude any post that is not in that category. What am I doing wrong?
- The topic ‘[Resolved] Formatting Issues/Link to page’ is closed to new replies.