• Resolved tastymouse

    (@tastymouse)


    I have several Project Types which I show in separate pages. The Previous Next buttons however are not limited to a certain Type, so after the projects in a Project Type the first project of another Project Type are shown. How can I limit the pagination to one Project Type?

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Dan (a11n)

    (@drawmyface)

    Hi @tastymouse

    Can you provide any more details about this issue? I checked the page you mentioned, and after clicking on ‘Older Photos’ it shows page 2, which also appears to display only the ‘photo’ project type.

    Am I missing something? Can you clarify the issue?

    Thread Starter tastymouse

    (@tastymouse)

    Hi Dan, another example is https://inekedamen.nl/project-type/specials/. When I have seen the four pictures of ‘Specials’ I get a project form ‘Work’.
    The other site has some Projects which are in two Types. But on this example all Projects have only one Type.

    Now I see that when I open a Single Project the url is https://inekedamen.nl/portfolio/dont-touch-this-tree/ so the type isn’t part of the url, is this what causes the unwanted behaviour?

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi @tastymouse,

    I can replicate what you mean, and I think you’re onto something when you said:

    The other site has some Projects which are in two Types. But on this example all Projects have only one Type.

    Now I see that when I open a Single Project the url is https://inekedamen.nl/portfolio/dont-touch-this-tree/ so the type isn’t part of the url, is this what causes the unwanted behaviour?

    I suspect that the other project pages aren’t well defined as Portfolio Custom Post Types, and are all falling into the same “macro” portfolio type.

    Do you think you can try re-doing the Portfolio pages by adding the correct type that can be reflected in the URL?

    We have a Portfolio documentation page and the Portfolio shortcode documentation to help if needed.

    Let me know how you get on!

    Thread Starter tastymouse

    (@tastymouse)

    When I create a page with Portfolio Page Template and enter [portfolio include_type=paintings] the type is still not in the url.

    Thread Starter tastymouse

    (@tastymouse)

    When I go to https://jetpack.com/blog/portfolios-wordpress-jetpack/ I see this https://ibb.co/sWFGRng
    Which block is used here? And how can I get it?

    Hi @tastymouse

    As you can see here, you need to create your own portfolio projects.

    You can find the whole customized options for your shortcode here.

    Your code should look like this:

    [portfolio columns=1 display_types=true display_tags=false display_content=false]

    Let me know if you have any questions.

    My best regards,

    Michelle

    Thread Starter tastymouse

    (@tastymouse)

    Hi Michelle,

    My main issue is: how can I show only projects of one Project Type?

    Thanks, Tom

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @tastymouse

    You can play around with the different parameters on the Portfolio Shortcode documentation:

    https://wordpress.com/support/portfolios/portfolio-shortcode/

    I was able to restrict project types to one by using:

    [portfolio include_type=Book]

    where “Book” was my project type.

    Thread Starter tastymouse

    (@tastymouse)

    Yes and when you click on an item the url of the single project page doesn’t contain the Type. The single project pages are all part of the Portfolio, so the Previous Next buttons can’t be limited to one Type.

    Hi @tastymouse

    I can see you’ve mentioned that the single project pages have Previous and Next buttons that can’t be limited to one type; however, those pages don’t have any Next or Previous buttons unless you have many projects that can’t be shown in one page.

    It’s also good to note that this is the default behavior (of showing all projects regardless of type), that’s why you can create a page to only show a specific type of those, here’s an example shortcode of that:

    [portfolio include_type="test"]

    You’ll have to replace test with the Project type name.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Pagination within Project Type of portfolio’ is closed to new replies.