Tagged: x
-
AuthorPosts
-
May 1, 2016 at 7:40 pm #908365
I would like to include the category posts on a static page. I would like to have an introductory paragraph at the top of the page before the posts. And I would like to include posts from only a particular category (instead of all the blog posts).
I downloaded the “Display Posts Shortcode” and this is the closest I came to achieving a proper result.
From this thread (https://wordpress.org/support/topic/display-posts-shortcode-on-x-the-theme), ThemeCo provided the below shortcode to introduce:
[display-posts posts_per_page=”5″ post_type=”x-portfolio” portfolio-category=”ratgaber” portfolio-tag=”produkt” include_excerpt=”true” image_size=”thumbnail” wrapper=”div”]
However, when I put this shortcode in, it doesn’t work properly. Though, when I do take out post_type=”x-portfolio” some of the posts appear. The post image does not appear and the meta (author, date, category name, leave a comment) do not appear like the rest of the categories in the theme. To be sure, I replaced the category and tag names with appropriate names.
Please let me know what the correct post type and other shortcode I need to introduce to make this work.
May 2, 2016 at 12:32 am #908594Hello There,
Thanks for writing in! The shortcode will always not work for you especially if you do have have the correct category and tag. Please make sure that you use this shortcode instead:
For displaying portfolio items:
[display-posts posts_per_page="5" post_type="x-portfolio" include_excerpt="true" image_size="thumbnail" wrapper="div"]
if you want to display the blog post items:
[display-posts posts_per_page="5" post_type="post" include_excerpt="true" image_size="thumbnail" wrapper="div"]
Regretfully, we cannot provide support for third party plugins such as Display Posts Shortcode as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Thank you for your understanding.
May 2, 2016 at 7:46 am #908988Thank you.
The code you provided does not work. Nothing shows up when I introduce post_type=”post”.
To make it simple – even without a plug in – is there a way to introduce category posts to a page below introductory text? I would like to include the full post plus the image of the post.
May 2, 2016 at 9:14 am #909119Regretfully that isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.
You might want to use the Category Archive page instead as you can set the Archive Title and Subtitle (see attachments).
Thanks for understanding. Take care!
May 2, 2016 at 10:25 am #909231I really don’t understand why X doesn’t offer this customization. I purchased the X Theme as it was meant to be fully customizable without requiring any coding know-how. This is truly disappointing!
Where does the boundary of what support you will provide end, and what is outside your support begin?
This really should be quite an easy fix. And, from this and other threads, it appears that it is being asked for again and again.
If you kindly offer a fix, that would be immensely appreciated.
May 2, 2016 at 1:06 pm #909503Hi,
We can offer support on everything X comes bundled with but anything which requires custom development or external code is out of our scope of support we can offer.
Thank you for your understanding.
May 2, 2016 at 1:25 pm #909527Ok, thanks.
Can you offer a solution on how to create a page with static content and dynamic content? In particular, I’d like to create a page where I can have introductory text followed by posts from only a particular category.
May 2, 2016 at 1:26 pm #909533Of course, I’m looking for a solution not involving any external plug-ins or external code.
May 2, 2016 at 9:37 pm #910076Hi There,
You can create a static page and utilize the Recent Posts element, this element does not offer an except though.
Regarding the Display Posts Shortcode plugin, if we refer to its documentation here, the line of shortcode below should work fine, you can place it inside a RAW content element.
[display-posts posts_per_page="5" post_type="post" category="YOUR CATEGORY SLUG HERE" include_excerpt="true" image_size="thumbnail" wrapper="div"]
Just make sure you enter the correct category slug and that category has at least one post belong to it.
Thanks.
May 2, 2016 at 10:35 pm #910125Thanks. This shortcode does allow for the correct category posts to appear. However, the meta data (by which I mean, author, date, category type, and “leave a comment”) does not appear.
The formatting is also totally off. The title is the same size as the body text, there are no paragraph breaks, any other html (e.g., hyperlinking), and the images that I had in the posts are also missing. And, the posts are not broken up in separate containers (if I’m using that term correctly). The way the pages are displayed on a category page is masonry style. Using this shortcode, they appear all horizontally across without any structural breaks.
My images are written into my posts as text (uploaded into the text box). For each post, I didn’t put the image in a column separate from the text. I also am not using any featured images.
I feel like we’re so close to making this work! Please help and I can launch my site!
May 3, 2016 at 4:24 am #910401Hi,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 3, 2016 at 7:20 am #910603This reply has been marked as private.May 3, 2016 at 4:04 pm #911444Hi,
You can eaasily create a page with static content and dynamic content using cornerstone.
Use headline, raw content etc elements to display static content and you can use “Recent posts” element to display posts and you have the ability to choose a certain category to display posts from.
Thanks
May 3, 2016 at 4:24 pm #911477Thanks.
When I use recent posts as raw content, they don’t appear the way that I want them to. I’d like for them to appear exactly as they do when on the blog page.
Actually, for whatever reason, the recent posts appear as red squares where I suppose an image should be (I’m not using any featured images) and the only content that appears is the post title and the date. Missing is the full excerpt, author name, category name, and ability to comment.
I’m open to suggestions.
May 3, 2016 at 4:35 pm #911484This reply has been marked as private. -
AuthorPosts