Timeline for Featured image for social sharing ot author archive page
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 29, 2012 at 2:27 | comment | added | shea | @Skip I'm glad I could help :-) | |
Oct 28, 2012 at 23:40 | vote | accept | Skip | ||
Oct 28, 2012 at 23:40 | comment | added | Skip | Hi bungeshea I loaded the original code with an amended function name and it works perfectly adding the meta info tothe header. Thank you - question definitely answered :-) | |
Oct 28, 2012 at 19:14 | history | edited | shea | CC BY-SA 3.0 |
added 1069 characters in body
|
Oct 28, 2012 at 19:06 | comment | added | shea |
You can call the function virtually anything you want, as long as it is not the name of another function. You also change the function name in the add_action hook. I chose to start the function off with wpse_70701_ , because this is question number 70701 on WordPress Stack Exchange. Also, I've updated the answer to deal with more authors.
|
|
Oct 28, 2012 at 12:00 | comment | added | Skip |
Thank you bungeshea I'll give it a try. I'm quite new to Wordpress and PHP is the function wpse_70701_author_image() just a random name you've given the function? i.e. I could call it anything as long as there's no conflict? Also if there were say 3 authors would I need to write a new differently named function each time or would I just add another if section to this function (I get confused with if, ifesle, else). Many thanks.
|
|
Oct 28, 2012 at 3:15 | history | edited | shea | CC BY-SA 3.0 |
changed meta content to property
|
Oct 28, 2012 at 1:13 | history | answered | shea | CC BY-SA 3.0 |