How to edit [pt] shortcode?
-
Hello,
I would like to edit the built-in shortcode in this plugin:
[pt size='post-thumbnail']
How to add more features to the shortcode?
Also I would like to automatically download photo description eg. The “alt” from a photo and then inserts under the picture with the css class. It could look something like this:
[pt size='post-thumbnail' description='alt given by uploading photos' description-class='here the class name']
What’s all this? I want to add in every picture a link to the author’s photo, but when I do it manually by inserting code into the post, then later on the main page in the “post cutoff” I also have entries this link and description, and I want to avoid that.
Could help anyone? I do not know PHP and do not really know what and where should I put in the file to edit the shortcode.
Plugin: Plugin Post Edit + Plugin Post Extras
WP Theme: Iconic One
- The topic ‘How to edit [pt] shortcode?’ is closed to new replies.