Jump to content

Archived

This topic is now archived and is closed to further replies.

petere21

Shortcodes for metainfo in postpins DMS

Recommended Posts

petere21

I want to change meta info in postpins blog Editor offers me to do it with shortcodes: 

Use shortcodes to customize the meta information for these pins.

But I ma not able to set it by right way

for example if I want to chande meta to show tags what is the right syntax? 

  • [the_tags] doesnt work

Share this post


Link to post
Share on other sites
Danny

Hi,

 

Which section are you referring to? As the PinsBlog section doesn't provide an option input meta data. Sections like PowerLoop and WP-Content/PostLoop do and the correct shortcode is

[post_tag]

 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
petere21

post pins pins configuration see in screenshot

Screen.jpg

Share this post


Link to post
Share on other sites
Danny

Can you send me a PM with the following information please.

1. A link to this topic so I know what the topic is referring to.

2. A link to the site/page in question.

3. Your admin username/password.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
petere21

Hi, I found out a bug in PinsPro theme.

Line 131 in file: wp-content/themes/pinspro/sections/postpins/section.php

        $special_meta = ($this->opt('pins_meta')) ? $this->opt('pins_meta') : '[post_date] / [post_comments]';

shouldn't be called outside of "post loop", as some other shortcode hooks are applied before, so additional shortcode appliying here doesn't work. So then "pins_meta" doesn't work ... :(

Line 131 should be moved to somewhere around line 181 ...

It took time to find this out. Could be good if it will be fixed in any new version.

Share this post


Link to post
Share on other sites
Simon

Actually no.

Line 131 should be like this:

 $special_meta = ( $this->opt( 'pins_meta' ) ) ? $this->opt( 'pins_meta', array( 'shortcode' => false ) ) : '[post_date] / [post_comments]';

try that

Share this post


Link to post
Share on other sites
petere21

Ok, maybe we don't have the latest version (is it already there?), this was the fastest fix we could do in our version. Thanx for info.

Share this post


Link to post
Share on other sites

  • Similar Content

    • jaithai
      By jaithai+
      Unable to attach an image that's already been uploaded.
      When attempting to upload one from scratch, it gives me the error seen in the screenshot. As you can see by the Chrome Inspector, I receive a 400 error.
       

    • stijnxo
      By stijnxo+
      Ik like to use the following Plug-in in my DMS Theme, but can' get it to work. My DMS Editor is not loading anymore if I paste this short code in a page, textbox or mediabox: [wpdatatable id=1]
      Plug-in: WPDataTables Plug-in 
      Shortcode:  [wpdatatable id=1]
      Website: http://gentleclinics.nl/prijslijst-heren/

      Anyone experience with this plug-in and DMS.
    • foxwatson
      By foxwatson+
      I recently downloaded the latest DMS2 update. Since the download, I lost front end ability to update. Any suggestions would be appreciated.  
    • Justin Taylor
      By Justin Taylor
      I originally purchased, I believe, a 3 site licence for DMS2. The new account interface does not reveal any of this information.
      How do I know how many licences I am entitled to? How do I reset one for a new website? All it says now is that I don't have any Pro licences?
×