Apostrophe theme question
-
Hi, wondering if the following is possible to achieve on this theme.
You noticed how this theme’s index page renders all the content in 3 column grid. The theme does that for all Category and Tags slugs/links. Plus, it does the same for all returned search results. All these show up perfectly fine in the same unified 3 column grid.
I am looking to manually create a Page, where I’d wish to insert a combination of hand selected tags or categories, plus hand selected individual blog posts. I am looking for the Page to render the result in the same unified 3 column grid.
Even if I can insert just a specific Tag and have the Page display the content of the Tag in the same 3 column grid, I’d be fine.
Please let me know if above is doable and how?
The blog I need help with is: (visible only to logged in users)
-
I am looking to manually create a Page, where I’d wish to insert a combination of hand selected tags or categories, plus hand selected individual blog posts. I am looking for the Page to render the result in the same unified 3 column grid.
You may use a customized display posts shortcode to display a mix of posts in various selected tags and categories. The code might look something like this:
[display-posts category="canada,united-states" tag="award, book-review, conflict"]
To add a collection of "hand selected individual blog posts" to that, perhaps the easiest way would be to add a previously unused tag to each of the hand-selected posts, and include that tag in the display posts shortcode. -
That should have been
[display-posts category="canada,united-states" tag="award, book-review, conflict"]However, that without specifying the number of posts to display, this code will by default display only the ten most recent posts drawn by the arguments. To show all such posts (to a maximum of 100) add the argument posts_per_page=”-1″. “-1” means “all, to the limit of 100.” So the code would then be
[display-posts category="canada,united-states" tag="award, book-review, conflict" posts_per_page="-1"] -
I extensively use display-post tags. They will not render the formatting (3 column grid of this theme) as i currently desire.
-
The display posts shortcode support page shows multiple tags and categories without spaces between the tag and commas that separate them. I don’t know if it makes a difference, but without the spaces the last code given above would look like this:
[display-posts category="canada,united-states" tag="award,book-review,conflict" posts_per_page="-1"] -
They will not render the formatting (3 column grid of this theme) as i currently desire.
Oh. Sorry about that. I hadn’t tested to see what the result would be.
-
The other suggestion I thought of would be to add a previously unused tag to each of the chosen posts: both the posts with the selected tags and categories, and the hand-selected posts. However, this might involve a lot of work.
-
Regarding columns in Apostrophe theme. Right now it’s evenly stacked at 3 columns across. How do I get it like in the example? 2 Columns = 1 wide post, 1 small post. The site I am referring to is: http://maderaschool.org/
-
@ maderaschool,
The posts in the Apostrophe theme demo with the featured image taking up two columns, and the very bold titles, are featured posts. The Featured Content section of the Apostrophe theme guide says,
Featured Content in Apostrophe is a bit unique. To mark posts as featured, you’ll first have to configure the Featured Content module from Appearance → Customize → Featured Content. From there, you’ll be able to select a tag for all your featured posts. Any posts tagged with this tag will be shown in a more prominent way.
-
I wonder what will happen if you have two featured content posts in a row. The demo seems to alternate them with non-feature content posts in each case, resulting in the posts appearing evenly distributed, two or three posts per row.
-
-
-
It looks like you were able to get help on your original question via live chat. The solution was to use the theme’s category pages which display in a grid:
https://apostrophedemo.wordpress.com/category/fashion/Another solution would be to use the Display Post shortcode and Custom CSS (which requires a plan). If you need help with custom CSS please visit this forum:
https://en.forums.wordpress.com/forum/css-customization -
Hi, no, I did not get the solution via chat. The category links do not solve this issue. I’m looking to build a page and not a menu.
Do you think custom CSS will solve this using display post short code? I’m willing to go that route if it is possible. Could you verify and share the solution for me to preview before I purchase? Thanks
-
@ bdukes, @ ismailimail,
A category page does display in three columns on Apostrophe — I’ve just demonstrated this on a test site — but what ismailimail has envisioned is more complicated.I am looking to manually create a Page, where I’d wish to insert a combination of hand selected tags or categories, plus hand selected individual blog posts. I am looking for the Page to render the result in the same unified 3 column grid.
My interpretation is that the member wishes to create a page displaying image and title links, in the standard three column posts page format of the Apostrophe theme, to the following:
1. multiple selected category and tags archives pages combined, plus
2. other selected posts not from these category and tags archives pages.Have I got it right, ismailimail?
-
“1. multiple selected category and tags archives pages combined…”
I meant “the posts of multiple selected category and tags archives pages combined.” -
This is going to be pretty much a hand built thing @ismailimail. You can use the Display Posts Shortcode and insert multiple occurrences and then limit each of those to a specific category or tag. You can also use the Display Posts Shortcode to display individual posts by using the unique ID for that post. Take a look at the Display Posts Shortcode and play with it a bit and see if that will work for you.
You can create custom CSS to style each of those sections.
-
@thesacredpath, thanks. I’ve been playing and using display posts for a while.
So you confirm that this isn’t easily possible with the theme without CSS?. But for the future, if and when I consider going CSS route, do you think it is doable to lay out the display posts code in a 3 column gird? At present, I use table codes to define the grid, but it is not convenient for me (I have to move my posts around from one column/row to another, which is a pain with table code).
i thought this theme may provide a way to replicate its design to the Pages. All the index pages, search pages, category, tags, they all look perfectly fine in 3 column grid. I thought it would be logical to have the bloggers manually create the same experience in Pages.
Thanks.
-
Columns can be tricky, and getting things to align from column to column is typically not doable. You kind of have to live with where things break. If you keep the content and the titles consistent (number of lines), and keep your thumbnail images (if you use them) consistent in proportions (height to width) then that helps.
- The topic ‘Apostrophe theme question’ is closed to new replies.