Post url
-
how can i insert post url
-
Hi,
Please see this page for the shortcodes available.
i show that i didnt see any post url shortcode
you mean [guid] is for the post url link
here i want to show like this
Post title : [post_title]
Post Link : [guid]
Published Date : [post_date]
Published Author : [post_author]is this right please explain/ add in your article page shortcode description
I would copy and paste all the shortcodes for the relevant notification into the appropriate email field and see what gets outputted by WordPress, then remove the ones you don’t need. You may find that something like [to_ping] works for you.
When I get some time, i’ll try and add labels to each of the shortcodes and a description of what they do where required.
i going to show how is your shortcode is working what is the results i’m getting when i use all of the shortcode for New Post Published
Here I want to Create E-mail Message for example..
Dear [display_name] we have Published new post at www.lanka-school.com Please visit. bellow mention the post details Post title : [post_title](This is ok) Post Link : [guid]This is ok but it should clickable link ) Published Date : [post_date](This is ok) Published Author : [post_author](This is not ok post author name not visible only author ID visible) Thanks...
Display name should be receiver user name but here showing all details are about the author need to add email receiver details also
[ID] = Post Id is coming ex: "9136" [post_author]User Id is coming not the name ex: "55" [post_date] 2013-12-08 13:18:09 [post_date_gmt]2013-12-08 13:18:09 [post_content]it's Ok [post_title]it's Ok [post_category]it's Ok [post_excerpt]Nothing coming it's Blank [post_status]publish [comment_status]Open [ping_status]Open [post_password]Nothing coming it's Blank (I'm Not Create any password [post_name]%e0%ae%87%e0%ae%b8%e0%af%8d%e0%ae%b2%e0%ae%be%e0%ae%ae%e0%ae%bf%e0%ae%af-%e0%ae%a8%e0%ae%be%e0%ae%95%e0%ae%b0%e0%af%80%e0%ae%95%e0%ae%ae%e0%af%8d-%e0%ae%ae%e0%ae%be%e0%ae%a4%e0%ae%bf%e0%ae%b0-2 [to_ping]Nothing coming it's Blank [pinged]Nothing coming it's Blank [post_modified]2014-04-22 16:38:26 [post_modified_gmt]2014-04-22 13:38:26 [post_content_filtered]Nothing coming it's Blank [post_parent]0 [guid]https://www.lanka-school.com/?p=9137 (My Post link) [menu_order]52 [post_type]Post [post_mime_type]Nothing coming it's Blank [comment_count]0 (There is no Comments) [user_login]R.M.Rizwan (This is my Post Author Name Not the original e-mail ID Owner name) [user_nicename]r-m-rizwan (This is my Post Author Name Not the original e-mail ID Owner name) [user_email][email protected] [user_url]Nothing coming it's Blank [user_registered]2013-10-10 11:34:42 [display_name]R.M.Rizwan (This is my Post Author Name Not the original e-mail ID Owner name) [user_firstname]Nothing coming it's Blank [user_lastname]Nothing coming it's Blank [nickname]R.M.Rizwan (This is my Post Author Name Not the original e-mail ID Owner name) [user_description]Nothing coming it's Blank [wp_capabilities]Nothing coming it's Blank [admin_color]Fresh [closedpostboxes_page]Nothing coming it's Blank [primary_blog]Nothing coming it's Blank [rich_editing]True [source_domain]Nothing coming it's Blank
Something is not right please fix it Thanks
It’s hard to give very specific help with these kinds of things.
I’ve tried going to the site but it didn’t load – it was very slow.The [guid] is the post link (the Post URL).
Is that what you were looking for?Above mention comments you can find the results next to the shortcode what i mention
some shortcodes are not giving a correct results
againe i’m pointing you
[user_firstname], [user_lastname], [display_name]
like these shortcodes are talking about the email receiver details but what i’m getting current results here these shortcodes are talking about the post author meaning Post owner (Author) detail)[post_author]
Post Author is should be a Post owner Name (Author) detail) but it’s showing the Author ID like “55”Here I want to Create E-mail Message for example..
Dear [display_name] we have Published new post at https://www.lanka-school.com Please visit. bellow mention the post details
Post title : [post_title](This is ok)
Post Link : [guid]This is ok but it should clickable link )
Published Date : [post_date](This is ok)
Published Author : [post_author](This is not ok post author name not visible only author ID visible)Thanks…
You may need to insert the link as WordPress won’t necessarily output one for you.
E.g.<a href="[guid]">[guid]</a>
It’s also worth checking that firstname, lastname etc. is defined in the user’s profile.
You may want to try [display_name] instead of post_author as this is a standard WP function that outputs the author ID.All the shortcodes are there, it’s just a matter of trying them out or using them in HTML to create the email that you need.
- The topic ‘Post url’ is closed to new replies.