add_shortcode('userpro_author_link', 'wpse_152910');
function wpse_152910( $attr ){
if( ! is_singular() )
return '';
$post = get_post();
global $userpro;
$userpro->permalink( $post->post_author );
}
You will be using [userpro_author_link]
on your post content to display this.
Related Posts:
- Shortcode content output but not in correct place
- PHP/CSS: Shortcode won’t display correctly, and only displays in the head (before content)
- How to manually fix the WordPress gallery code using PHP in functions.php?
- Shortcode putting html such as
- the_author_posts_link css class
- How do I get the author’s page url from their ID?
- WordPress Shortcode and Dynamic CSS
- Counting number of posts in a category and its sub categories and displaying result using shortcode
- Shortcode created to check language not works
- Allow authors to post only in categories they create in WordPress
- Best way of adding CSS which can be manipulated by the user via theme option panels?
- Add/echo div with Analytics-Code to function in functions.php
- Custom plugin issue when trying to use the shortcode twice on a page [closed]
- How can I default to all WordPress roles when parameter is not included in shortcode?
- WordPress menu deletes when trying to add a hook
- Wrap each shortcode in array to div
- Using PHP to toggle stylesheet and header image, set in cookie
- Recent post display using shortcode
- Nested shortCode functions in the functions.php file
- Making Quote Plugin more efficient
- Placing raw HTML inside a WordPress shortcode
- is_page “range” for if statement?
- PHP code inside shortcodes
- Shortcode content filter?
- Trigger popup in a php if/else statement
- Plugin CSS not enqueing
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- How to output a PHP file values by shortcode?
- Showing content from one page on another
- How to style options page in dashboard?
- How to display posts by current user in a drop down
- Get value from shortcode to do something
- Custom shortcode outputs plain text instead of HTML at top of post
- Pass php dynamic variable to shortcode
- Css loads very slow [closed]
- How create a Shortcode with hover and complex options
- How to Reference/Echo Variable from Another PHP Function
- Remove echo from shortcode
- responsive.css in the WordPress should be prioritized
- Redirect to another page using contact form 7? [closed]
- Shortcode with PHP issue “Undefined index”
- height should be set to auto to avoid pixelation in the post thumbnail function
- Shortcode from a function not working
- Display Data in Table from External Database in WP using Shortcodes
- Is it possible to return content, and then also continue to do other things?
- ::before on open/close function [closed]
- How to make container class in PHP
- Is it possible to define variables in a wordpress shortcode, and then call the shortcode using a specific variable?
- Creating WordPress Shortcode with Variable
- Shortcode to find and replace URL
- Creating a mobile site by adding a new class to the body tag from functions.php
- Help with WordPress function inside a shortcode
- calling a custom field value inside functions.php
- List all blogs, but exclude the main site
- Shortcode to embed Edit Account form not working
- Noindex Posts From Certain Authors In WordPress
- Shortcode for Listing Users from Meta Value?
- CSS change in woo commerce Place Order Text [closed]
- Cant display an image via PHP in wordpress
- Need to Modify a WordPress Shortcode with another wordpress shortcode
- How to return a string that has a jQuery and Ajax inside in a shortcode?
- Problem with adding custom CSS class to image in ACF Photo Gallery plugin [closed]
- Offset with ajax load more posts duplicates
- Get posts by id using shortcode
- Shortcode’s output to use as other shortcode’s parameter
- Add class for the_post_thumbnail_caption()
- Open/closed function [closed]
- Need to Echo A Url path to show on a wordpress page
- Displaying POST content with HTML tags and all
- Wrapping shortcode content in a span or link
- Need help with PHP functions
- Highlight Single Page Ancestor
- Styling admin page rows in order of importance (checkboxes)
- Show contact 7 form in popup
- Overwriting a Shortcode
- Shortcoding with Divs
- Cant get theme to change footer color through theme customizer
- How to add margin underneath woocommerce total price amount -> productpages
- Whats wrong with my code? Need To add String to shortcode? [closed]
- How do I get Roboto Google Font to display normal font-style? [closed]
- My title is showing after the shortcode
- Integrating CSS Into a WP Function Call [closed]
- A next page function with shortcode?
- Shortcode to include PHP file, pass various parameters to include?
- Load slideshow.css file only if Slideshow is checked / on
- Assign new post author IF another user in custom field on post transition
- Sorting Problem
- WP Custom tables query
- Display terms on product page with shotrcode
- why css file not link?how to create permalink?
- How call WordPress shortcode inside function file
- Show Login Errors In WordPress/Elementor (Code “works”, but breaks site)
- Calling a function via a shortcode in javascript
- Adding a css class to the gallery
- Strip and print only the numbers found in current’s post excerpt (even if they are without space)
- Woocomerce custom add to cart button edit functionality [closed]
- How do I make a shortcode to display Dokan seller badge list?
- How can we upload custom page files?
- Calling a PHP function from a menu item
- Removing website URL in comments causes misalignment of submit button and tickbox