Bvumira Authorship uye Kuburitsa Chinongedzo muWordPress

google g

Ini ndinoramba ndichiudza vanhu kuti ini ndichagovana kuti isu tiri kusanganisa sei kunyora microdata kugadzira yekutsvaga mhinduro yakafuma snippets. Iri kushanda zvakanaka kune vatengi vedu mu kuwedzera kwavo SERP CTRs) saka ndakafunga kuti ndaizo nyora pano kune eWordPress masaiti.

Pane zvidimbu zviviri kune izvi… uye zvinhu zviviri zviri kwete zvakabatana. Iyo yekunyora data ikozvino yave kuratidzwa muKutsvaga Injini Mhedzisiro Mapeji. Handisati ndaona info yemuparidzi ichiratidzwa izvozvi… asi ndine chokwadi chekuti ichave!

mutsikisi

Google Plus ikozvino ine ongororo system uko a mutsikisi yenzvimbo inogona kunongedzera peji ravo reGoogle +. Nekuwedzera iyo inotevera kodhi mune yedu theme functions.php peji, isu takawedzera chikamu kune yedu WordPress Dhizaina magadzirirwo akawandisa patinogona kunama yedu yeGoogle + Peji URL

kushanda social_settings_api_init () {add_settings_section ('social_setting_section', 'Social Sites paWebhu', 'social_setting_section_callback_function', 'general'); add_settings_field ('general_setting_googleplus', 'Google Plus Peji', 'general_setting_googleplus_callback_function', 'general', 'social_setting_section'); register_setting ('general', 'general_setting_googleplus'); } Wedzera_action ('admin_init', 'social_settings_api_init'); shanda pasocial_setting_section_callback_function () {echo ' Ichi chikamu ndipo paunogona kusevha ako masocial masaiti uko vaverengi vanogona kukuwana iwe paInternet. '; } basa general_setting_googleplus_callback_function () {echo '  '; }

Nhanho inotevera ndeyokushambadzira iyo yekuburitsa chinongedzo pane peji rega rega pane saiti iri kunze kwako wega blog blog mapeji. Saka, mune yedu header.php, tinowedzera kodhi inotevera:

" rel="publisher" />

rakanyorwa

Hunyori hwakanyanya kuwedzera kudzika, kunyanya kana iwe uine yakawanda-munyori blog senge yedu. Chaizvoizvo, isu tinoda ese edu mapeji ayo vanyori vanonyora kuratidza yavo yeGoogle + data data mune yekutsvaga injini mhedzisiro. Kuti ndiwane izvi pasi, ndaifanira kuenda kuna tenzi iye, Joost de Valk uye kuverenga pamusoro pake rel = "munyori" post.

Nhanho yekutanga ndeyekuwedzeredza marongero eWordPress uye kubvumidza ma tag anchor kuti abudiswe neakakodzera rel element. Mukati functions.php, wedzera iyo inotevera kodhi

basa yoast_allow_rel () {global $ allowedtags; $ allowedtags ['a'] ['rel'] = rondedzero (); } wedzera_action ('wp_loaded', 'yoast_allow_rel');

Nhanho inotevera ndeyekuwedzera kodhi ku functions.php iyo inowedzera munda kune peji rako reMushandisi peji apo vanyori vanogona kuzadza yavo URL yeGoogle +:

basa yoast_add_google_profile ($ contactmethods) {// Wedzera Google Profiles $ contactmethods ['google_plus_profile'] = 'Google Plus Profile URL'; dzosera $ nzira dzekutaurirana; } wedzera_filter ('user_contactmethods', 'yoast_add_google_profile', 10, 1);

Iye zvino zvawava nemunda imomo, uchafanirwa kuwedzera chinyorwa chemunyori kune peji rega rega chinonongedza kune zvemunyori zvemukati, senge single.php, Index.php, munyori.php uye archive.php. Mukati memapeji eetemplate aya, ratidza chinongedzo chemunyori pamwe nerel = "munyori" uye icho chinongedzo chinofanira kunongedzera chako munyori.php peji peji:

" rel="author">

Mukati mepeji rako remunyori.php, iwe uchazoda kuratidza ruzivo rwehuwandu pamwe nere rel = "me" chinongedzo chinonongedzera ku peji rako reGoogle Mbiri:

$ google_plus_profile = tora_munyori_meta ('google_plus_profile'); kana ($ google_plus_profile) {echo '  '; }

Iwe waneta zvakadaro? Usave… rinotevera danho nderekuwedzera chinongedzo chinodzosera kune rako peji peji mukati meGoogle Plus:

google pamwe nekugadzirisa purofiti mupiro

Ok… izvozvi zvinyorwa zvako zvemunyori zviri kunongedzera peji rako remunyori, peji rako remunyori riri kunongedzera purogiramu yako yeGoogle Plus, nhoroondo yako yeGoogle Plus iri kunongedzera peji rako remunyori. Unoona here kuti takaita sei denderedzwa rese rakafukidzwa pano? Nhanho yekupedzisira…

Shandisa akapfuma snippets chishandiso uye kunyatso simbisa kuti ako akapfuma snippets anoshanda zvakanaka! Edza iyo pane yako domain domain uye yako imwechete post mapeji

mupfumi snippet tester mhedzisiro

Uye zvino isa mudome rako uye uripe pfuti:
mupfumi snippet tester mhedzisiro muparidzi

Yekupedzisira noti… zvese izvi zvinoshanda zvakanaka, asi kwete nguva dzese. Dzimwe nguva ndinocherekedza iyo yakapfuma snippets chishandiso chinondipa kukanganisa uye dzimwe nguva ini ndinoona panopfuma snippets kuyedza zvakanaka, asi zvinotora mavhiki mashoma kuti uvaone mumhedzisiro yekutsvaga. Chero nzira, iko kuchinjwa kunofanirwa kuitwa! Ramba uchifunga kuti, sezvo takaita zvese izvi mukati medingindira redu kuti dingindira nyowani raizoda isu kuti tizviite zvose zvakare!

11 Comments

  1. 1

    Sezviri pachena dingindira rangu razvino harina faira rewrit.php. Asi, wangu munyori URL anoonekwa uye anopa zvakanaka. Ndaiita kunge ndawana zvese zvakaiswa zvichitevera matanho ako, asi iro rakapfuma snippet chishandiso chakaburitsa zvikanganiso zvinotevera.

    muparidzi akabatanidza peji reGoogle + = https://plus.google.com/118248936539718757580Kanganiso: Rino peji harine runyoro rwevaparidzi. Dzidza ZVIMWE. Yambiro: Ose ari maviri rel = "muparidzi" uye rel = "munyori" aripo pane peji. Iwe unofanirwa kuisa rel = "munyori" pane zvemukati mapeji uye rel = "muparidzi" pane peji rako rekumba chete (kunze kwekunge iri peji rekumba reimwe munyori saiti). authorlinked munyori profile = http://www.bnpositive.com/blog/author/bnpositive/
    Kanganiso: Author peji peji haina rel = "ini" chinongedzo kuGoogle Mbiri. Dzidza ZVIMWE. 

    • 2

      @bnpositive: disqus Unogona kuita author.php faira zvinyoronyoro nekuteedzera iyo archive.php faira uye kuitazve zita ku author.php (dzimwe nguva pane imwe yekuchenesa yekuita kuburitsa chikamu chezita misoro, nezvimwewo) asi izano rakanaka kuva nemunyori peji. Ini ndinowanzo kushambadzira vanhu bio uye pikicha pane iro peji.
      Ndakaenda kune rako peji reGoogle + uye iwe hauna chinongedzo muchikamu chekupa chinonongedza kune rako peji peji ku bnpositive. Zvakare, urikuyedza kuita chinyorwa chemunyori kana chinongedzo chemuparidzi? Yako peji remunyori pane bnpositive inoita kunge iine peji reGoogle + peji pairi. Peji yemunyori inofanirwa kunongedzera peji rako rega, chinongedzo chemuparidzi chinongedzera peji rako reGoogle +.

      • 3

        Kubva pakunzwisisa kwangu ndinoda PUBLISHER chinongedzo pane ese asiri-post MAPEJI ewebhusaiti yangu iyo yainanga kuBnpositive Kutaurirana uye Dhizaini Peji reGoogle +. Zvino, pamapeji ese eposvo andinonyora, ini ndoda link yeAUTHOR pane iwo mapeji angarevera peji rangu reGoogle + rakarurama?

      • 4

        Ini ndakangotarisa peji rangu reGoogle + uye rinopa chinongedzo chekupa kune yangu peji peji pane yangu blog. Ini ndinofanira kunge ndakaitwa zvakafanana paGoogle + Peji yangu semuparidzi?

      • 7

        Zvakanaka, ndinofanira kuwana munyori.php peji rakagadzirwa, asi ndiri kufunga kuti ndicharega kusvikira ndasarudza kuti ndeipi dingindira idzva randinenge ndichisarudzira saiti. Zvinoita sekunge ndinoda kuwana nguva newe uye ndikutengere kofi munguva pfupi iri kutevera!

  2. 8

    Mhoro, hauna chokwadi kana uchiri kutarisa izvi, asi - ndakawana zvidimbu zvangu zvakapfuma kuti nditi "Yakavimbiswa: Markup muparidzi yakasimbiswa ino peji." asi mufananidzo hausi kuratidzika mune yakapfuma snippet chishandiso. Hunyori hwangu hunoshanda kwazvo pane zvinongedzo zvekuposita, asi kune peji rangu repamba hapana mufananidzo uye rinongoti zvasimbiswa. Unoziva here kuti nei izvi zvingave zvakadaro?

    • 9

      @ twitter-509747237: disqus kana iwe ukangozvishandura, uchafanirwa kuvapa mavhiki mashoma kuti varatidze. Zvakare, takavaona vachiratidza uye vachinyangarika kamwechete mune imwe nguva. Zvinotaridza kuti ibasa riri kuenderera neGoogle.

      • 10

        Ndatenda nemhinduro 🙂 Ndinoziva kuti zvinotora nguva kuti zvioneke muSERPS, asi ndinonetsekana kuti haisi kuratidzika mukutarisa kweRich Snippet Testing Tool .. mune yako dzidziso iwe unogona kuona yako kambani logo mu chishandiso chekuyedza uye ini handisi kuchiona, chete kuti zvakasimbiswa. Ini ndinofungidzira ndichaimirira kwemavhiki mashoma kuti ndione kana ndichigona kuitora kuti iratidze muRSTT, asi kana ikasadaro, saka handizive kuti ndakakanganisa kupi (kwete mukumhanyira kuti iratidze kumusoro muSERPS sezvo zvakatora kunyora kwangu kungangoita mavhiki matatu izvo, asi zvakagara zvichiratidzwa ipapo ipapo muchombo chekuyedza). Ndatenda zvakare nemhinduro.

        • 11

          @ twitter-509747237: disqus Inonakidza! Zvinoita sekunge vakabvisa muparidzi link snippet pakuratidza logo. Izvo zvinonhuwa !!! Ini ndaive netariro ivo vachatanga kutsikisa izvo muSERP. Wako munyori link yakanaka kuenda, zvakadaro!

Unofungei?

Nzvimbo iyi inoshandisa Akismet kuderedza spam. Dzidza kuti sei deta yako inoshandiswa.