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

    • MissT
      By MissT+
      Hi there,
      For some reason the styling on a site doesn't seem to be being applied - all was ok the other day but something seems to have broken the less styling.hanks
      I've tried flushing the caches but it doesn't seem to work.
      When I log in and load the DMS editor it all looks fine - when I hit publish though the live site still looks like the styling isn't being applied.
      Can someone please help?
      Many thanks in advance!
    • patsc
      By patsc+
      Hi,
      I've updated to Wordpress 5.0.3 and my DMS2 is not working anymore. I've tryed downloading Platform 5 but the link doesn't work.
      What can I do?
      Thanks!
    • 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.  
×