Candela portfolio shortcode failing
-
Portfolio shortcode failing
I am using the Candela theme. I have gone into my settings and enabled portfolio projects. My front page display is a static page with my front page being the portfolio page http://www.rachelbushdesigns.com
I have uploaded multiple images into my media and then assigned them to projects with featured images and such. I have a photography type and graphic design type with slugs, no tags.
I am trying to use my portfolio page, graphic design and photography page and add a portfolio shortcode for the media on the pages. Any time I type in a portfolio shortcode to one of the three pages, the code is ignored. On each page I have no parent and template: portfolio page template
three examples, for each page
Portfolio:
[portfolio display_types=true include_type=graphic-design,photography columns=3 showposts=50 orderby=rand]Design:
[portfolio display_types=true include_type=graphic-design columns=3 showposts=50 orderby=rand]Photography:
[portfolio display_types=true include_type=photography columns=3 showposts=50 orderby=rand]all portfolio shortcode is ignored.
they only thing touched in CSS is styling to text.
The blog I need help with is: (visible only to logged in users)
-
Hi,
On each page I have no parent and template: portfolio page template
The shortcodes you are using look fine to me. I don’t know why they might be ignored. However, by using portfolio shortcode in a portfolio page template might be the problem. In a test with another Portoflio theme (Illustratr) I found that using portfolio shortcode in a page with the portfolio page template assigned resulted in duplicate projects being displayed.
The result of my test makes sense, since if you leave the page content empty in a portfolio page the portfolio displays. Hence, if you use the shortcode [portfolio] in the page content, the entire portfolio will display twice, while a customized shortcode in the page content might or might not display the whole portfolio depending upon the attributes and attribute values used. If you’re going to use portfolio shortcode in a page, don’t use the portfolio page template, unless you want duplication of some projects in the page.
The expected duplication I describe above, however, doesn’t explain the issue that you report, which is, if I understand correctly, that adding a portfolio shortcode to the page produces no change to the visible page.
You may call for staff attention by adding a “modlook” tag to the sidebar of this topic.
- The topic ‘Candela portfolio shortcode failing’ is closed to new replies.