E ʻae i ka Loulou Authorship a me Publishing ma WordPress

google g

Ke haʻi mau nei wau i nā poʻe e haʻi wau pehea mākou e hoʻohui nei i ka microdata authorship e hana hopena hopena waiwai. Ke hana maikaʻi nei ia no kā mākou mea kūʻai aku ma e hoʻonui nei i kā lākou SERP CTRs) no laila ua manaʻo wau e kākau wau ma aneʻi no nā pūnaewele WordPress.

Aia ʻelua mau ʻāpana i kēia… a ʻo nā mea ʻelua nā aole pili. Ke hōʻike ʻia nei ka ʻikepili authory i nā ʻaoʻao hopena ʻenekini huli. ʻAʻole wau i ʻike i ka ʻike o ka mea hoʻopuka i hōʻike ʻia… akā maopopo nō iaʻu.

Ka mea hoʻopuka

I kēia manawa aia kahi ʻōnaehana hōʻoia ʻo Google Plus kahi a hoʻopuka Hiki i kahi pūnaewele ke kuhikuhi i kā lākou ʻaoʻao Google+. Ma ka hoʻohui ʻana i kēia code i kā mākou kumuhana functions.php ʻaoʻao, ua pākuʻi mākou i kahi ʻāpana i kā mākou WordPress Administration mau hoʻonohonoho maʻamau kahi e hiki ai iā mākou ke kāpili i kā mākou ʻAoʻao ʻAoʻao URL:

hana social_settings_api_init () {add_settings_section ('social_setting_section', 'Social Site on the Web', 'social_setting_section_callback_unction', 'general'); add_settings_field ('general_setting_googleplus', 'Google Plus ʻAoʻao', 'general_setting_googleplus_callback_unction', 'general', 'social_setting_section'); register_setting ('general', 'general_setting_googleplus'); } add_action ('admin_init', 'social_settings_api_init'); hana nohona_setting_section_callback_unction () {echo ' ʻO kēia ʻāpana kahi e hiki ai iā ʻoe ke mālama i kāu mau pūnaewele kaiapuni kahi e ʻike ai nā mea heluhelu iā ʻoe ma ka Pūnaewele. '; } hana general_setting_googleplus_callback_unction () {echo '  '; }

ʻO ka hana hou e hoʻopuka i ka loulou paʻi ma nā ʻaoʻao āpau ma ka pūnaewele ma waho o kāu ʻaoʻao moʻomanaʻo pūnaewele hoʻokahi. No laila, i kā mākou header.php, hoʻohui mākou i kēia code:

" rel="publisher" />

ʻO ka mea hoʻohana

ʻOi aku ka hohonu o ka mea kākau, keu hoʻi inā he blog multi-kākau kāu e like me kā mākou. ʻO ke kumu, makemake mākou i kā mākou ʻaoʻao āpau a nā mea kākau i kākau ai e hōʻike i kā lākou ʻikepili pili Google+ ma nā hopena ʻenekini huli. No ka iho ʻana i kēia, pono wau e hele i ka haku ponoʻī, ʻo Joost de Valk a heluhelu i kāna rel = "mea kākau" ka pou.

ʻO ka hana mua e hoʻokahuli i nā hoʻonohonoho WordPress a ʻae i nā heleuma heleuma e paʻi ʻia me ka rel element kūpono. I loko functions.php, hoʻohui i kēia code:

hana yoast_allow_rel () {global $ ʻae ʻia; $ allowtags ['a'] ['rel'] = hoʻonohonoho (); } add_action ('wp_loaded', 'yoast_allow_rel');

ʻO ka hana hou e hoʻohui i ke code functions.php e hoʻohui i kahi māla i kāu ʻaoʻao Profile Mea hoʻohana kahi e hiki ai i nā mea kākau ke hoʻopihapiha i kā lākou Google+ URL:

function yoast_add_google_profile ($ contactmethods) {// Add Google Profiles $ contactmethods ['google_plus_profile'] = 'Google Plus Profile URL'; hoʻihoʻi $ contactmethods; } add_filter ('hoʻohana_contactmethods', 'yoast_add_google_profile', 10, 1);

I kēia manawa he kahua kāu ma laila, pono ʻoe e hoʻohui i kahi loulou mea kākau i kēlā me kēia ʻaoʻao e kuhikuhi i kāu ʻike o ka mea kākau, e like me single.php, index.php, mea kākau.php a archive.php. Ma loko o kēlā mau ʻaoʻao template, e hōʻike i ka loulou o ka mea kākau a me ka rel = "mea kākau" a e kuhikuhi kēlā loulou i kāu mea kākau.php ʻaoʻao ʻaoʻao:

" rel="author">

Ma loko o kāu ʻaoʻao author.php, makemake ʻoe e hōʻike i ka ʻike pili me ka loulou rel = "ʻo wau" e kuhikuhi nei i kāu ʻaoʻao Google Profile:

$ google_plus_profile = get_the_author_meta ('google_plus_profile'); inā ($ google_plus_profile) {echo '  '; }

Luhi ʻoe? Mai noho ... ʻo ka hana aʻe e hoʻohui maoli i kahi loulou i mea hāʻawi i hoʻi i kāu ʻaoʻao mea kākau ma loko o Google Plus:

google me ka hoʻoponopono hoʻoponopono pilikino

Ok… i kēia manawa ke kuhikuhi nei nā loulou o kāu mea kākau i kāu ʻaoʻao mea kākau, ke kuhikuhi nei kāu ʻaoʻao mea kākau i kāu pili Google Plus, ke kuhikuhi nei kāu pili Google Plus i kāu ʻaoʻao mea kākau. ʻIke ʻoe i ke ʻano o ka uhi ʻana o ka pōʻai holoʻokoʻa ma aneʻi. ʻO ke anuu hope loa…

E hoʻohana i ka mea hana pōpō waiwai a hōʻoiaʻiʻo maoli i ka hana maikaʻi o kāu mau snippets waiwai! E hoʻāʻo ia ma kāu aʻa aʻa a me kāu ʻaoʻao pou hoʻokahi.

hopena hopena hopena waiwai

A i kēia manawa e hoʻokomo i kāu kikowaena a hāʻawi iā ia i kahi kī:
mea hoʻopuka hopena hoʻokolohua waiwai

Kahakaha hope ... maikaʻi loa kēia a pau, ʻaʻole naʻe i nā manawa āpau. I kekahi manawa ʻike wau i ka mea hana waiwai e hāʻawi mai iaʻu i kahi hemahema a me nā manawa ʻē aʻe aʻu e ʻike ai kahi e hoʻāʻo maikaʻi ai nā snippets waiwai, akā he mau pule ka lōʻihi e ʻike ai iā lākou i nā hopena ʻimi. ʻO kēlā me kēia ala, he hoʻololi ia e pono ai ke hana! E hoʻomanaʻo i kēlā, ʻoiai mākou i hana i kēia āpau i loko o kā mākou kumuhana e koi ana kahi kumuhana hou iā mākou e hoʻokō a pau ma luna hou!

11 Comments

  1. 1

    ʻOiai ʻaʻohe o kaʻu kumuhana o kēia manawa he faila author.php. Eia naʻe, ʻike ʻia kaʻu URL mea kākau a uku maikaʻi. Me he mea lā ua loaʻa iaʻu nā mea āpau i hoʻonohonoho ʻia ma hope o kāu mau ʻanuʻu, akā ʻo ka mea hana waiwai e hua ai nā hewa o kēia mau mea:

    ʻaoʻao Google+ hoʻopulapula = https://plus.google.com/118248936539718757580 hewa: ʻaʻohe o kēia ʻaoʻao kahi hōʻailona hōʻoia hōʻoia. Aʻo hou mai. ʻNinglelo Aʻo: Aia nā rel = "mea hoʻopuka" a me rel = "mea kākau" ma ka ʻaoʻao. E kau ʻoe i ka rel = "mea kākau" ma nā ʻaoʻao ʻike a rel = "mea paʻi" ma kāu ʻaoʻao home wale nō (inā ʻaʻole kēia ka ʻaoʻao home o kahi pūnaewele kākau hoʻokahi). authorlinked profile profile = http://www.bnpositive.com/blog/author/bnpositive/
    Kuʻia: ʻAʻohe o ka loulou o ka mea kākau i ka pilina pili = "ʻo wau" i kahi Google Profile. Aʻo hou mai. 

    • 2

      @bnpositive: disqus Hiki iā ʻoe ke hana maʻalahi i kahi faila author.php ma ke kope ʻana i ka faila archive.php a kapa inoa hou iā ia i ka author.php (i kekahi manawa aia kahi hoʻomaʻemaʻe e hana ai e huki i nā poʻo inoa inoa inoa, a pēlā aku.) e loaʻa i kahi ʻaoʻao mea kākau. Hoʻolaha pinepine wau i nā meaola a me nā kiʻi o kēlā ʻaoʻao.
      Ua hele au i kāu ʻaoʻao Google+ a ʻaʻohe ou loulou i ka ʻāpana hāʻawi e kuhikuhi ana i kāu ʻaoʻao mea kākau ma bnpositive. Eia kekahi, ke hoʻāʻo nei ʻoe e hana i kahi loulou mea kākau a i ʻole kahi loulou hoʻopuka? Loaʻa i kāu ʻaoʻao mea kākau ma ka bnpositive i kahi loulou ʻaoʻao Google+ ma luna. Pono kahi ʻaoʻao mea kākau e kuhikuhi i kāu ʻaoʻao pilikino, pono e kuhikuhi kahi loulou hoʻopuka i kāu ʻaoʻao Google+.

      • 3

        Mai koʻu ʻike makemake wau i kahi loulou PUBLISHER ma nā PAGES pou ʻole āpau no kaʻu pūnaewele e kuhikuhi i ka Bnpositive Communication and Design Google+ Page. A laila, no nā ʻaoʻao kau a pau aʻu e kākau ai, makemake wau i kahi loulou AUTHOR ma luna o kēlā mau ʻaoʻao e kuhikuhi pololei i kaʻu ʻaoʻao Google+ pilikino?

      • 4

        Ua nānā wale wau i kaʻu ʻaoʻao Google+ pilikino a hāʻawi ia i kahi loulou hāʻawi i kaʻu ʻaoʻao mea kākau ma kaʻu blog. Pono wau e hana like i kaʻu ʻaoʻao Google+ ma ke ʻano he mea paʻi?

      • 7

        ʻAe, pono wau e kiʻi i kahi ʻaoʻao mea kākau.php i hoʻomohala ʻia, akā ke manaʻo nei wau e paʻa wau a hiki i koʻu hoʻoholo ʻana i ke kumuhana hou aʻu e koho ai no ka pūnaewele. Kani paha makemake wau e loaʻa i kahi manawa me ʻoe a kūʻai koke iā ʻoe i kahi kope!

  2. 8

    Aloha, ʻaʻole maopopo inā ʻoe e nānā nei i kēia, akā - ua loaʻa iaʻu kaʻu mau pepelu waiwai e ʻōlelo "Hōʻoia ʻia: Ua hōʻoia ʻia ka māka o ka mea hoʻopuka no kēia ʻaoʻao." akā ʻaʻole hōʻike ʻia ke kiʻi i loko o ka pono hana snippet. Hana maikaʻi kaʻu mea kākau ma nā loulou post, akā no kaʻu ʻaoʻao home ʻaʻohe kiʻi a ʻōlelo wale ia ua hōʻoia ʻia. Maopopo iā ʻoe ke kumu o kēia?

    • 9

      @ twitter-509747237: disqus inā hoʻomaikaʻi wale ʻoe iā lākou, e hāʻawi ʻoe iā lākou i kekahi mau pule e hōʻike. Pēlā nō, ua ʻike mākou iā lākou e hōʻike ana a nalo aku i kekahi manawa i kekahi manawa. ʻIke ʻia he hana e holo nei me Google.

      • 10

        Mahalo no ka pane 🙂 ʻIke wau e liʻuliʻu kēia manawa e hōʻike i SERPS, akā hopohopo wau ʻaʻole e hōʻike ʻia ma ka nānā mua no ka Rich Snippet Testing Tool .. i kāu aʻo ʻana hiki iā ʻoe ke ʻike i ka logo o kāu ʻoihana i ka mea hana hoʻāʻo a ʻaʻole wau e ʻike, ʻo ia wale nō ua hōʻoia ʻia. Kuhi wau e kali wau iā ia no ʻelua mau pule e ʻike inā hiki iaʻu ke hōʻike ia i ka RSTT, akā inā ʻaʻole ia e hana, a laila ʻaʻole wau i ʻike i kahi aʻu i hele hewa ai (ʻaʻole i ka wikiwiki e hōʻike ia i loko o SERPS e like me ka mea i lawe i kaʻu mea kākau kākau e pili ana i 3 mau pule no kēlā, akā hōʻike mau ʻia i ka mea hana hoʻāʻo. Mahalo hou no ka pane.

        • 11

          @ twitter-509747237: disqus Hoihoi! ʻIke ʻia ua wehe lākou i ka ʻaoʻao link publisher mai ka hōʻike ʻana i ka lōkō. Pilau ia !!! Lana koʻu manaʻo e hoʻomaka lākou e paʻi i ka SERP. Maikaʻi kāu loulou mea kākau, eia naʻe!

Pehea kou manaʻo?

Ke hoʻohana nei kēia pūnaewele i ka Akismet e ho'ēmi i ka spam. E aʻo pehea e hanaʻia ai kāuʻikeʻikepili.