Portfolio Shortcode
-
Hello,
I would like to display a portfolio on a page as follows:
Show three images side by side (columns=3)
Show 12 Posts (showposts=12)
Do NOT show any text under the image but only via mouseover like in the Portfolio Page Template (????)
I have already (display_types=false display_tags=false display_content=false) but those don’t seem to do the trick.
What am I doing wrong?Regards,
Carla -
Hi Carla,
If you don’t want to include types or tags, then there’s no reason to include those attributes in the code. Try something like the following for a start:
[portfolio columns=3 showposts=12 display_content=false] -
Oops! Sorry, you were right about tags and types. They display by default, according to the Attributes section of the Portfolio Shortcode support page. So let’s try the following instead:
[portfolio columns=3 showposts=12 display_types=false display_tags=false display_content=false]Does that work?
-
Hello,
thanks for the reply.
Unfortunately, this did not help.
The images are still displayed with the title of the thing under it.Kind regards,
Carla -
Carla,
Would you give us the site address (URL) and the URL of a page with portfolio shortcode in it, so that you might have a look?
Do NOT show any text under the image but only via mouseover like in the Portfolio Page Template (????)
I don’t think you’ll be able to achieve that result with Portfolio Shortcode. That behavior, on page with the Portfolio Page Template applied, is theme dependent. Some themes are designed to show titles that way on the Portfolio Page Template, and some not. The shortcode isn’t able to replicate all of the style elements of the template.
I’ll call for staff attention to see if they might have some helpful suggestion for you that I might have overlooked. Staff will respond here.
-
You might be able to hide the project titles either via the Customizer (depending upon the theme), or with custom CSS, but having the titles display only via mouseover may be more difficult to achieve.
-
Hi @salavora what site is this for?
Please note that test.salavora.com is a self-hosted WordPress site, which are sites that you create on a “traditional web host” like Bluehost, GoDaddy, etc.
Hosts like that use a different version of the WordPress platform, and they do not usually have the same features and options as sites on WordPress.com. Because of this the portfolio shortcode may behave differently on that site that they might behave here on a WordPress.com-hosted site.
If your issue is with test.salavora.com please be aware that we are not able to help with that here in WordPress.com site support, so you may wish to ask here instead: https://wordpress.org/support/forums/
-
Hello,
we are testing different templates using test.salavora.com. I this particular case however it would have been for a wordpress hosted site.
I hadn’t been aware that there is a difference in this case ^^”
Thank you!
This topic can be closed if that is something done here
- The topic ‘Portfolio Shortcode’ is closed to new replies.