Jump to content
Queue-it

Assign loop to a category

Recommended Posts

Queue-it

Hi,

Previous webmaster has made short codes assigned to certain categories. For example: [pl_section section="loops" id="003"]  displays all the Job posts for tech. 

But where can I assign a short code for a certain category? I can't find where to add the loop ID for the category.

 

Thank you

 

Share this post


Link to post
Share on other sites
Audun MB

You need to edit the Loops section in the PL Page Editor, not edit the shortcode. The id is just the id of the section. 

Share this post


Link to post
Share on other sites
Queue-it

@Audun MB

Thanks for the answer.

But how can I display a certain category if it is not in the loop field? In the example I have just inserted the loop id in a text field and it displays the category. Can't see where in the Page Editor I could change / create loop id's that would match a category.

 

58945b99f4057_textbox.thumb.PNG.d0cf7b8356074bd10e75c1ba956e710d.PNG

Share this post


Link to post
Share on other sites
Audun MB

Sorry, either you didn't understand my answer or I don't understand your second question. All that the shortcode does is place a Loops section in the page content section. You have to edit this section in the Page editor, like a regular section. Open the page in preview, open Page editor and find the section made by the shortcode (it won't show as a section in the Page editor, as it is inside the regular content section). Click the small pencil-icon on your Loops section to edit the section with Page editor (https://www.pagelines.com/articles/resources/loops/)

Though if all that is in the content section is the shortcode, I think it would be betterto remove the content section and just have a Loop section instead. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • fabienfons
      By fabienfons+
      Hi,
       
      At the bottom of the loops section, there is the page numbers...
      I'd like to change their size... (they are too small in my opinion..)
      Could you tell me how to do that ?
      Fabien
      www.youtips.com
    • Bill Bernat
      By Bill Bernat+
      Hi, I'm using a series of Loops sections on our PL5 site (insights.adaptiva.com), and on one section, I'd ideally like the loops to link to external URLs that are defined in the post in WordPress. Is that possible?
    • JP
      By JP+
      Hello,
      We are working on a 2 languages site (https://liguecardioliga.be) with wpml, and lately the call of a category in the loops section (and all the sections requiring a category to select posts) doesn't work in the translated language. It worked well until recently so I wonder if it's because of a recent update (wordpress, wpml, pagelines, a plugin?). Anyone has the same problem? a solution?
      TIA
    • fabienfons
      By fabienfons+
      Hi,
       
      I'd like to create 6 columns in Loops...
      Is it possible with custom code ?
      Thanks
      Fabien
    • Queue-it
      By Queue-it+
      I've created a new post category "Success stories" with Custom Post type UI. (in order to have a different layout for a different post category - blog post one layout, success stories another layout).
      New category "success stories" are "detached" from all the other posts, so they have a different layout, but the problem is that all of the success stories are also having the same exact content.
      So whenever I edit content (e.g. change body text) on one of success story posts, it also changes the content (body text) for all other Success story category posts. 
       
      Question: Is there a way to retain this separate category with it's own layout, and have a different content for each individual post? I'm using Pagelins templates. 
       Thanks in advance.
×