Don't know where to add a short code
-
I’m trying to follow the instruction to add a short code to make the portfolio display into 5 columns. But I can’t find where to add a short code.
The blog I need help with is: (visible only to logged in users)
-
Hello afordny!
Here is a link to information about short codes:
https://en.support.wordpress.com/shortcodes/
and there is the following link on shortcodes specific to portfolios:
I hope that helps!
Sincerely,
Chelsea
-
To give you an example once you read through some of the information, you could do the following below. The columns default to 2 and below I am telling the shortcode to display 5.
The example will display up to ten portfolio projects in FIVE columns, in ascending alphabetical order by project title. It will display Project Types, hide Project Tags, and only display projects that are assigned the “UI Design” or “App Design” Project Types.
[portfolio display_types=true display_tags=false include_type=ui-design,app-design columns=5 showposts=10 orderby=title]
You can embed portfolio projects on posts and pages, but you need to first activate the Portfolio custom content type on your site and add some projects to your portfolio.
See the above link from previous post above ^^^Next, you will add the [portfolio] shortcode to a post or page. The shortcode will display projects in different ways, depending on how you use the optional attributes to customize the portfolio layout.
I hope that additional information helps :-)
-
Thank you so much for your reply!
But I still don’t know where to place the short code.I do the following step to make a portfolio page
>Personalize
>Menus
>Selected menus which is named “Painting”
>Entered LINK ADDRESS :http://aforhndy.wordpress.com/project-type/Painting/
>SaveShould I need to add the same shortcode in each portfolio ?
Sending Warm Regard
ANDY
-
Hi Andy,
If your theme doesn’t have the Portfolio feature, you can activate it in two simple steps:
1. In your site’s homepage, go to Settings → Writing → Custom Content Types and make sure the “Portfolio Projects” option is enabled. When you’re done, save your changes.
See my link where I have activated Portfolio Projects: http://imgur.com/GgFNJSq
Once you activate this, you can add your shortcode to posts or pages.
2. Add projects under the new Portfolio menu item in your sidebar once you have activated the Portfolio Project.
You can add the shortcode into a post or a page under the HTML tab – I have added my shortcode to a post as an example. I hope this visual helps you to get an idea where to put the shortcode. Once you add it, do a preview of your screen to see how it displays. If everything looks good, you can publish.
This is what I pasted into my POST as a shortcode to display 5 columns:
[portfolio display_types=true display_tags=false include_type=ui-design,app-design columns=5 showposts=10 orderby=title]
If you do not have any images, you will get an advisory, “Your Portfolio Archive currently has no entries. You can start creating them on your dashboard.”
After you’ve added some projects, they’ll be visible on your website.
I will tag this with a MODLOOK for additional assistance and feedback to further assist you.
Happy Day Andy!
Sincerely,
Chelsea
-
Hi Chelsea,
It does work well now. Thank you very much for your patient and professional help.
😊Best wishes for Christmas and the New Year Chelsea!
ANDY -
- The topic ‘Don't know where to add a short code’ is closed to new replies.