Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #414049

    Hello Enfold
    Great theme! I need some help creating a custom code but dont know if you can helt me. I have a lot of pages and use the blog posts element to multiple select blog posts categories to be displayed on each page. The categories are importet every day so the can change. What i need is a page that can show me a list of pages that display which categories the page include.

    Example:
    Livingroom (page)
    – Sofas, Chairs, Tables (post categories)

    Bedroom (page)
    – Beds, Pillows, Furniture, Clothes (post categories)

    Categories not includes on pages:
    – Watches, Floors, Mirrors, etc.

    Showing pages and the categories included are nice to have. However the most important code i need is a liste of post categories, that are not used on any page.

    Hope someone can help me in the right direction.
    Kind regards

    #414394

    Hey designspecialisten!

    Thank you for using Enfold.

    I don’t know if I understand you clearly so if possible, please provide a screenshot of what you’re trying to do. Are you trying to add a category overview page? There is no default element for that so you have to add it manually.

    Best regards,
    Ismael

    #417473

    Hello Ismael

    I have tried to solve this myself but still without luck. I need to create a page that lists all of my pages and for each page shows which blog categories it shows on that page.

    Examle:
    I have created a page named “Livingroom”. On this page i use the “blog post” element with grid layout to show four categories from the blog (tables, chairs, sofas, lamps). I also have a “Bedroom” page and on that page I have four categories from the blog (beds, sheets, pillows, clocks) – again i use the blog post element with grid layout.

    I need to create a kind of “overview page” because I have lot of categories and lot of pages. Så what i need is a loop that show the page title and which categories are used on that page. The output for the code could be lige this:

    Livingroom(tables, chairs, sofas, lamps)
    Bedroom (beds, sheets, pillows, clocks)
    etc.

    So what i need is a PHP code where I can provide the page id and the output is the blog categories used on that page with the “Blog Post” element. Is this possible? Can you help me?

    This is very important for our project as we import thoussands of products each day and i need some kind of overview. I know this can not be done with a avia builder page but has to be done on a custom page template. I just cant find the PHP code that can output this.

    Kind regards

    • This reply was modified 9 years, 10 months ago by designspecialisten. Reason: Specifying that i use grid layout
    #417598

    Never mind. I found the solution :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Blog Posts overview’ is closed to new replies.