Tag Info

New answers tagged

1

Check out either the the_content_feed and the_excerpt_rss filters or use the regular content and excerpt filters with the is_feed conditional function. The following should get you on the right track: function wpse_140401_add_to_feed( $content ) { $twitter_handle = /* grab handle */; if ( is_feed() ) { $content .= '<p>' . ...


0

Your problem is totally related with pure PHP, not Wordpress. You must understand that includes DO NOT break the variable scope. So, the $curauth is only life in author_list.php file and, more specifically, only life inside the foreach($author_ids as $author) loop of that file. In your page template you could use the_author_meta() to get the author meta ...


3

If you are talking about author.php in your theme directory, usually at wp-content/themes/<YOURTHEMENAME> this isn't a core file but part of your theme. Themes don't get changed when WordPress is updated, so concerning WordPress updates themes are safe. But if your theme isn't custom made by you (which I assume here) this file would be changed if you ...


0

You can create a author.php file in your theme folder to make your custom author template. This is the tempalte hierachy for author view: author-{nicename}.php - If the author's nice name were rami, WordPress would look for author-rami.php. author-{id}.php - If the author's ID were 6, WordPress would look for author-6.php. author.php archive.php index.php ...



Top 50 recent answers are included