Static blog posts - post IDs

edited July 2017 in Blog
Hello team!

I'd need to set up a page as follows:
There are many sections and each of them contains specific STATIC links to blog posts. I DON'T want these links to dynamically change as I publish new posts, they must be fixed because they are related to specific topics.

At the moment, to obtain this I have inserted some code into the Columns items of my page (the code basically contains images with links to blog posts).
I was wondering if it's possible to insert in my columns the blog shortcode (or blog teaser shortcode), specifying which posts I want to show...maybe using posts IDs or something like that?

Thank you in advance for your support!

Comments

  • Hi,
    but once you create a post or page it will get a static link, it will not change. Where is the problem?
    thanks
  • what I mean is that, if in the Column item I insert the code for blog/blog teaser, the showed post will always change automatically as I publish new posts on my blog page.

    For example, if I insert the following text to the Column item, what should I add in order to show only 3 specific posts? Something like...id="XXX, YYY, ZZZ"?

    [blog count="2" style="modern" columns="2" category="" category_multi="" exclude_id="" more="1" filters="0" pagination="0" load_more="" greyscale="0" margin=""]
  • Sorry but there is not other solution for this, a new post has to get a new ID, you cannot predict what will it be.
  • Mmm I think you don't get my point.
    I don't intend to write XXX/YYY in the code...they were obviously an example.
    I have already published all the posts I need to use in each Column item of my webpage.
    My point is: in the blog shortcode you give the possibility to exclude some posts (exclude_id = ...)....besides this, is it also possible to choose which specific post ids I want to show? If yes, how? And how can I identify the ids of the posts I have already published?
    Thank you.
  • No, you can only show specific categories, you cannot show specific ID's in this shortcode.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.