Getting Portfolio with Slugs

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1764
    theoryginal
    Member

    Hi,
    I would like to display 4 different portfolio slugs in 4 different pages.
    Here is the structure;

    Portfolio-Category A
    Portfolio-Category B
    Portfolio-Category C
    Portfolio-Category D

    Well, I know I can get the slugs by /../portfolio_category/slug-name

    However; I need to display portfolio categories in a page, not like above.

    /../slug-name(.html) should be in a page template-portfolio-4c-sorted-full-width.

    Therefore; I dublicated template-portfolio-4c-sorted-full-width with different names (same with the slugs of portfolio categories) and I have 4 custom page templates.

    I have no idea how to get different portfolio categories in different pages.

    Is there any way that I can get portfolio categories by slugs? (there is one for page categories “get_category_by_slug”. Anything for portfolio categories?)

    #1772
    livemesh
    Keymaster

    Hi – no need to create new page templates. You can use the regular page template with the shortcodes being mentioned in the posts below –

    https://www.livemeshthemes.com/support/forums/topic/selected-post-snippets/

    and

    https://www.livemeshthemes.com/support/forums/topic/portfolio-2/

    #1781
    theoryginal
    Member

    Thanks a lot!
    That is exactly what I am looking for.

    #2284
    brotskybee
    Member

    Ahhhh…thanks for the links! They solved my exact same issue.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Getting Portfolio with Slugs’ is closed to new replies.