This post is related to php
so you should post it in stackoverflow
but as you are a new user .i would help you
<?php if (is_author('2') && (is_single()) ) { ?>
<link rel="author" href="https://plus.google.com/**********"/>
<?php } ?>
Related Posts:
- Conditional Statement – check if post has an attachment image
- Trying to use Ternary operators with WP Conditionals
- How to do conditional publishing?
- conditional statement for custom taxonomy
- Add user settings to specific roles
- How to display conditional-content if wp_nav_menu( $args ) retruns something
- Create a new usermeta field for users
- Redirect to a different page through registration, depending on page
- How to Arrange PHP Files to Allow for Multiple Types of Pages?
- What is the correct way to write this conditional statement?
- Reordering Buddy Press profile navigation [closed]
- Is_front_page inside header.php is always returning true
- Advanced Custom Fields – display label and value only if value entered
- PHP conditional script issue
- How to check if the current page is at a specified path in the URL?
- Add class to DIV depending on page loaded
- Can I set up a hover animation in CSS depending on a PHP conditional?
- Multidimensional Array
- Conditional featured image with youtube thumbnail
- How to make a conditional statement within $output in shortcodes.php?
- Conditionally remove comments and post meta in functions.php
- exclude custom post type from running a function
- include content within conditional statement?
- Show label for value only when value exists, basic php
- Conditional formatting on data fetched from MYSQL
- Find and print first entry from WordPress post in custom excerpt?
- Adding if statement
- Change Login or Logout text based on status
- Jetpack: Display Site Title when no Site Logo
- If else statement based on referral URL
- If Month=Particular month display content [closed]
- Custom Meta Box If Else Statement
- Hide a nav menu item based on get_user_meta results
- How do I reformat this to add php inside php?
- Not able to see the error [closed]
- How can I send an email using PHP?
- Modify previous and next text from pagination links
- Shortcode putting html such as
- Load post content into iframe
- Editor role cannot save custom theme options
- Does WordPress cache get_user_meta() results?
- Specific Loop For 2 Within Each
- POSTS list in WordPress by views
- Anything I can add to functions.php to make text widgets accept PHP?
- What’s the proper way to use wp_enqueue_script/style?
- Print number of post (in reverse)
- Can’t increase posts_per_page by variable
- Use WordPress’s Media Uploader/ Manager in non WordPress php application
- Get/Set wp.customize.previewer.previewUrl
- How to check If Oembed is empty or not
- Custom field value not saving when it contains a URL?
- Do changes to WordPress permalink custom structure affect old urls?
- How do I let users upload files to a chosen location?
- Wp-login appears White Screen, Error: Cannot modify header information
- Set WP_query ‘order’ option by another tables value
- Show when user is online/offline in real time on user_profile.php
- How to add different text in each result of foreach?
- how to update and display an option without reloading the page
- Change “en-US” to “en”
- Writing PHP code in pages without issue?
- Fix error Gravatar alt
- Code snippet to show current php version inside “At a Glance” box in admin
- WordPress yoast seo plugin – parse snippet var in meta description
- Make textarea required. Help [closed]
- Different SMTP based on domain
- How to Update an old theme for the latest wordpress version
- How to edit the styles for the table of pages/post listed in the admin when you click on pages/posts?
- How can I use custom menus with a Bootstrap WordPress theme?
- How to track who has deleted files
- foreach repeat html structure after every nth for attachment [closed]
- how to show images without passing it to timthumb.php file for resizing
- How to redirect outgoing links via my own website
- How to implement __() function in my theme’s php file?
- In PHP how do I make my navigation bar show certain links to admins only?
- Display a custom name when the user has no name settle in his account
- Why can’t I connect to the wordpress install page with Nginx?
- Discount in the specific product title using keyword ( Woocoommerce )
- WordPress generates weird permalinks
- WordPress search query, how to modify the sql
- Make a full-width wordpress page
- Modify post image in full size
- Javascript / PHP – closing the loop
- Update an additional user meta field with a string
- number of posts with “Load More”
- Putting hyperlinked and non-hyperlinked text in one line, centered, on .php [closed]
- Need Quick Help With Product Category Page
- how to remove replicating a tag inside loop?
- My query keeps looping infinitely ! how to stop it?
- blank page when trying to change upload directory
- Why isn’t my link attribute getting my css?
- the_post_thumbnail unless video id is added
- split searchresults into different topics?
- ajax form function error
- Simple Probléme in wordpress
- Add a “Next Post” & “Previous Post” styled button manually to a post
- How to store the_post_thumbnail() value in a variable
- Add default block css when the block has been added with php?
- How to initialise WP_Query on the basis of a specific meta_value and continue iterating rest?
- Custom Post Type doesn’t have template content when creating programmatically in PHP but does when created in WP Admin