How to display other projects on projects page

Hi,

I want to display other projects at the bottom of a single project page. I used the shortcode [sydney-masonry posts=“10” show_all_text=“See all” post_type=“projects”], but that did not work. I have 4 projects on my site.

https://www.christine-volpert.de/projects/cvcheck/

Hello there,

Have you installed and activated the Sydney Portfolio Plugin?

Regards,
Kharis

I have now and it works perfectly.

How can I display the title of the project with the shortcode?

And how can I change the image size of the masonry?

Project shortcode doesn’t have a title to show. Sorry :frowning:

To manage the image size on larger screen, you can use the below CSS code:

    @media only screen and (min-width:768px) {
      .single-projects .roll-project.fullwidth .project-item {
        width: 50% !important; 
      }
    } 

To apply it to your site, add it to Additional CSS under Appearance > Customize.

Regards,
Kharis

Ok, but that did not work for every shortcode. It only applies for the project site not for the https://www.christine-volpert.de/referenzen/

For pages, wrap the shortcode with a DIV so that we can target specific a couple of CSS code for each portfolio inside it. Edit page, switch the editor to Text mode, then follow this code format:

   <div class="my-portfolios">
     [sydney-masonry posts=“10” show_all_text=“See all” post_type=“projects”
   </div> 

Update page.

Then add the below CSS code to Additional CSS:

    @media only screen and (min-width:768px) {
      .my-portfolios .roll-project.fullwidth .project-item {
        width: 50% !important; 
      }
    } 

Regards,
Kharis

Hi, I found a way thats working. How can I display the title of the project with the shortcode?

Hello there,

Please try the solution I’ve posted here in this thread.

Regards,
Kharis

I used the widget now instead. Here I can display the title. Thanks.