Recent port portfolio count

Hi X,

I’m new to this new apex forum so im not sure if this is the right place to post this.
A while back you guys helped me out with a problem.

I’m trying to make a portfolio page by using the shortcode “recent post portfolio items”
This is the shortcode i used:
[recent_posts type=“portfolio” count=“99” no_image=“true” orientation=“vertical”]
so i can show all portfolio items as a list on this page.
http://www.naber-vastgoedbeheer.nl/referenties/

But as you can see, “referentie 1” doesnt look like the others And id like to have a little spacing between them.

Hopefully you can help me out.

Hi There,

I can see the issue though from checking frontend source code, I can’t find where it is coming from. Would you mind providing us with login credentials so we can take a closer look? Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password

All the best!

i made a secure note

Hi There,

They all look the same to me, please clarify.

Add a class my-recent-post to your shordcode.

[recent_posts type="portfolio" count="99" no_image="true" orientation="vertical" class="my-recent-post"]

And then add this on your custom CSS.

.my-recent-post a {
	margin-bottom: 2em;
}

2 issues I saw on your site, first recent posts shortcode is limited to display 4 posts only. It is not capable of displaying 99 posts.

Second your X theme is outdated while your Cornerstone is up to date, with this you might have an incompatibility issues. So you either update the X theme to latest version (5.1.1) or revert the Cornerstone back to version 1.3.3

You can follow the guide provided here for Updating Your Theme

You can follow the Manual Plugin Update Via FTP guide on the same link for downgrading the Cornerstone.

You can get the cornerstone.zip version 1.3.3 on your XTheme x/framework/plugins/ directory

Hope it helps,
Cheers!

Oke thanks, the code for seperating the list worked :slight_smile:

How am i able to display more for recent portfolio posts on my page then?
A while back i got it to work on the other page using blogposts. (lost the support post on this on the old forum)
See: http://www.naber-vastgoedbeheer.nl/vastgoed-actueel-2/
Id like to achieve the same thing using portfolio posts on my other page:
http://www.naber-vastgoedbeheer.nl/referenties/

Thanks for the reply!

Hi There,

I am not sure how did you achieve the recent posts layout here (http://www.naber-vastgoedbeheer.nl/vastgoed-actueel-2/), but it looks like a multiple recent posts shortcode showing one count item only.

You can do the same by adding multiple recent posts shortcode showing four counts item. Then offset each recent posts incrementing by 4.

That is:

[recent_posts type="portfolio" count="4" no_image="true" orientation="vertical" class="my-recent-post"]
[recent_posts type="portfolio" count="4" offset="4" no_image="true" orientation="vertical" class="my-recent-post"]
[recent_posts type="portfolio" count="4" offset="8" no_image="true" orientation="vertical" class="my-recent-post"]
[recent_posts type="portfolio" count="4" offset="12" no_image="true" orientation="vertical" class="my-recent-post"]
[recent_posts type="portfolio" count="4" offset="16" no_image="true" orientation="vertical" class="my-recent-post"]

And so on.

Hope it helps,
Cheers!

Ok thanks this shortcode helped!
Is it possible to show a image in this recent post portfolio list?
But still display it like this, i made a print screen to show u what i mean.

so id like it to look like a list with a image aligned vertical.

if i remove no_image=“true” the image becomes huge.

Thank you for your time.

Hi There,

Further customizations would be out of our support.

You might consult with a developer.

Thanks for understanding.