Shortcode help
-
Hi there,
I recently installed Arconix, and I need to create different portfolios for different pages. I’ve created different features, but I’m totally confused as to how to create shortcodes to include or exclude the different tags. Could you give me an example of what one should look like?
Thanks!
-
Hi,
Thanks for using my plugin and I apologize for the trouble you’re having.
The 2 shortcode tags you’ll primarily work with are
termsandoperator. For purposes of this example I’ll be using the terms found on the plugin’s demo site.Let’s say I wanted to set up a portfolio page that only showed items from the “Villain” group. My shortcode would look like so:
[portfolio term="villain" operator="IN"]The other way to configure the portfolio is if I wanted to show all items except for “Marvel”. That shortcode would look like so:
[portfolio term="marvel" operator="NOT IN"]Does that help?
Hi there! Thanks so much for your response. I tried this, and unfortunately it’s still showing all of the items, with the option to choose. For example, on the page below, I only want to display the Biographies feature. I used this shortcode based on your example: [portfolio term="Biographies" operator="IN"]
http://www.linkedinsummaries.com/executive-biographies/executive-biographies-examples/
Am I doing something wrong?
Thanks!
I just checked the demo site and I am also unable to get the term filtering working (it was working previously so I must have broke it accidentally) so it’s not likely you’re doing something wrong. Give me a little time to investigate and I’ll get it working for you.
Awesome, thanks so much!
Issue is resolved and will be released as part of v1.4.0 which should be ready to go in the next 48-72 hours. Thank you for your patience.
Awesome, thank you! I assume there’ll be a notification to update the plugin when it’s ready?
That’s correct. I plan on having the release out on WordPress tonight and a blog post and documentation update tomorrow.
Hi John,
Thanks for the update! I made the switch in WordPress, but I’m still seeing all features showing on my site. Is there something I need to adjust to get it to filter? Thanks!http://www.linkedinsummaries.com/linkedin-summaries/linkedin-summaries-examples/
I apologize for the continued troubles. I’m currently investigating trying to get to the root of the trouble. The filtering works in my development environment so it’s proving difficult to debug. I’ll have a true fix asap
I just realized the source of this trouble is likely that there’s a typo in my original example to you. Here’s what I originally provided in my initial reply:
[portfolio term="villain" operator="IN"]Here’s what I should have provided
[portfolio terms="villain" operator="IN"]Please note the ‘s’ after
term. The parameter should be plural and I noted it singular.I truly hope that’s the problem because I’m likely to go crazy if not.
Hi John,
Hmmmm, it doesn’t look like it’s changed, even with the edit. :/ Unless I’m missing something? Here’s the shortcode I used, and here’s the page:
[portfolio terms="LinkedInSummaries" operator="IN"]
http://www.linkedinsummaries.com/linkedin-summaries/linkedin-summaries-examples/
Thanks for all your help and hard work!
The terms field very specifically requires the slug value of the feature, which does not have capital letters in it. Can you go to http://linkedinsummaries.com/wp-admin/edit-tags.php?taxonomy=feature&post_type=portfolio and make sure you are grabbing the value from the “slug” column?
You were right, I didn’t have the slug in place, just the feature name. The slug is linked-in-summaries, and I changed the shortcode to: [portfolio terms="linked-in-summaries" operator="IN"].
Unfortunately, the page is still showing with all displayed: http://www.linkedinsummaries.com/linkedin-summaries/linkedin-summaries-examples/
hmm… would you be willing to let me access your site to do some additional testing? If so, please create an admin user and use the e-mail address of john[at]arconixpc.com. thanks
Sure! I created a new user and said to send it to you via email. Let me know if you don’t receive. Thanks for your help!
The topic ‘Shortcode help’ is closed to new replies.