Mmene Mungasonyezere Mauthenga Ena Pa-websteder WordPress

Olamulira a pawebusaiti ndi olemba maubloggera amayang’ana nthawi zonse kuti asunge kuwerenga kwawo kumawonekedwe awo pa nthawi yaitali komanso yayitali. Njira imodzi yomwe amagwiritsira ntchito ndiyo kufotokoza nkhani zowonjezera kumapeto kwa nkhani iliyonse. Imeneyi ndi njira yophweka kuti asunge alendo anu pa webusaiti yanu.


Kuwonetsa zifukwa zotsatizana / mankhwala / mavidiyo kumawonjezera nthawi imene anthu amathera pa webusaiti yanu. Izi ndichifukwa chake eCommerce makampani monga Amazon, ndi makampani othawa mavidiyo monga YouTube ndi Netflix amayesetsa kukhala ndi machitidwe ovuta kupanga maphunziro kuti apange machitidwe abwino.

Pamene blog yatsopano yatsopano silingakwanitse kugwiritsira ntchito njira zamakono zotere, kuwonetsera zolemba zokhudzana kumapeto kwa gawo lililonse ndichinyengo chothandizira alendo kuti akhalebe nthawi yaitali paan blog kapena. Ndipo patapita nthawi mlendo amathera pa webusaiti yanu, mwinamwake ayenera kugula.

Tisaiwale mbali ya UI ya izi, makina othandizira ndi othandiza kwambiri kuthandiza anthu kupeza zomwe zili zabwino. Sindingakumbukire kuchuluka kwa nthawi yomwe ndakhala ndikuwonerera makanema otsatizana en YouTube m’mene makondomu amayendera. Kuwonetsa zolemba zokhudzana ndi izi kumachepetsa nthawi yoyenda ndikuthandizira kulumikiza owerenga pazoyenera.

Kugwiritsa ntchito Jetpack-relaterede indlægsmodul

Nkhaniyi yotsatizanayi imayendetsa mandandanda wazomwe mumalemba ndipo imawunika momwemo kuti mupeze malo oyenerera omwe angapangitse chidwi cha mlendo wanu.

zopangira

Ndimakonda kugwiritsa ntchito gawo ili la Jetpack osati kuthana ndi pulogalamu yowonjezera chifukwa kusanthula ndi kukonza kumachitika kuchokera ku seva yawo yamtambo, zomwe zikutanthauza kuti zida zanik zwwa zit za seva.

Zinthu zochepa zokhudza momwe gawoli likugwirira ntchito:

  • Pamafunika kukhala osachepera 3 malo abwino vejer angathe kuwonetsedwa. Popanda nsanamira zitatu izi, palibe chomwe chikuwonetsedwa ngati zokhudzana nazo kumapeto kwa positi.
  • Zokhudzana nazo zimapangidwira pamaziko a malemba, magulu ndi zomwe zili mndandanda pawokha.
  • Zithunzi zojambulazo zidzakhala zojambula zazithunzi zam’mbuyomu kapena zojambula zojambulidwa pazithunzi zomwe zikugwirizana nazo. Amagwidwa 350px m’kati mwa 200px mkulu, mwana amawona miyeso iyi posankha zithunzi zojambulidwa ndikuonetsetsa kuti azamasulira bwino kukula kwake.

Kuphatikiza apo, ngati mungafune kusintha zina pa kagwiritsidwe kake ka gawo, muyenera kusintha mtundu winawake mu fayilo yanu ya function.php. Zambiri mwazinthu izi zimaphatikizapo kusinthana ndi fyuluta yokhudzana ndi Jetpack.

  • Sinthani chiwerengero chazithunzi zomwe zanenedwa. Sinthani kuwerengera kwa kukula kwa kusankha.

ntchito jetpackme_more_related_posts ($ zosankha) {$ optioner [‘størrelse’] = 6; bweretsani zosankha $; } add_filter (‘jetpack_relatedposts_filter_options’, ‘jetpackme_more_related_posts’);

  • Bwezerani limodzi mwa mauthenga ovenana ndi zotsatira zowonongeka, pazomwe mukufuna. Tsambali la Post likutanthawuza pazithunzi zomwe zafunsidwa.

ntchito jetpackme_append_related_post ($ hits, $ post_id) {// $ post_id ndizolemba zomwe tikuzipeza panopa ngati (2194 == $ post_id) {// Tilføj 1036 kutsogolo kwa mndandanda wa mndandanda wa madola_unshift ($ hits, array (‘id’> 1036)); // Chotsani gawo lomalizira la mndandanda wa mapepala ($ hits); } bweretsani ndalama za $; } add_filter (‘jetpack_relatedposts_filter_hits’, ‘jetpackme_append_related_post’, 20, 2);

  • Sungani malo ena omwe simukuwoneka pakati pa Zotsatira Zowonjezera. Onaninso chizindikiro cha positi kuti chisiye.

gwiritsani ntchito jetpackme_exclude_related_post ($ exclude_post_ids, $ post_id) {// $ post_id ndi positi yomwe tikupezekamo posachedwa kwa $ exclude_post_ids [] = 1037; // Sambani post_id 1037 $ exclude_post_ids [] = 1038; // Komanso pasankhani post_id 1038 kubwerera $ exclude_post_ids; } add_filter (‘jetpack_relatedposts_filter_exclude_post_ids’, ‘jetpackme_exclude_related_post’, 20, 2);

  • Pewani gulu lonselo kuti muwoneke pakati pa Zotsatira Zowonjezera. Sinthani gululo.slug ku gulu limene simukufuna kuwona pazomwe mumalemba.

ntchito jetpackme_filter_exclude_category ($ filtre) {$ filters [] = array (‘osati’ => gulu (‘term’ => gulu (‘category.slug’ => ‘Agalu’))); bweretsani mafayilo a $; } add_filter (‘jetpack_relatedposts_filter_filters’, ‘jetpackme_filter_exclude_category’);

  • Chotsani Mauthenga Ena pazomwe mukuwonetsera pazolemba zanu. M_ndandanda wazithunzi uli ndi zizindikiro Zotsatizana zomwe zolemba zogwirizana siziwonetsedwe.

gwiritsani ntchito jetpackme_no_related_posts ($ zosankha) {ngati (ndi_salele (gulu (17, 19, 1, 11)))) {$ optioner [‘enabled’] = falsk; } bweretsani zosankha za $; } add_filter (‘jetpack_relatedposts_filter_options’, ‘jetpackme_no_related_posts’);

  • Phatikizani masamba mu zotsatira zosaka zokhudzana nazo.

gwiritsani ntchito jetpackme_add_pages_to_related ($ post_type, $ post_id) {ngati (ndi_array ($ post_type)) {$ search_types = $ post_type; }} {$ search_types = gulu ($ post_type); } // Tilføj masamba $ search_types [] = ‘tsamba’; bwererani $ search_types; } add_filter (‘jetpack_relatedposts_filter_post_type’, ‘jetpackme_add_pages_to_related’, 10, 2);

  • Onetsani chithunzi chosasinthika, ngati palibe chithunzi chomwe chingapezeke pazithunzi.

ntchito jeherve_custom_image ($ media, $ post_id, $ args) {ngati ($ media) {kubwezera $ zowonjezera; } Kina {$ permalink = get_permalink ($ post_id); $ url = Apply_filters (‘jetpack_photon_url’, ‘YOUR_LOGO_IMG_URL’); Bwererani (‘mtundu’ => ‘chithunzi’, ‘kuchokera’ = = ‘custom_fallback’, ‘src’ => esc_url ($ url), ‘href’ => $ permalink,)); }} add_filter (‘jetpack_images_get_images’, ‘jeherve_custom_image’, 10, 3);

  • Bisani tsiku lomaliza pazolemba Zina.

zolemba-post-date {kusonyeza: palibe; }}

Mukhoza kuwerenga zambiri za ntchito zomwe mungathe kuziwonjezera kapena kusintha ndizomwe zimagwiritsa ntchito Jetpack pazo Blog.

Mipangidwe yowonjezera ya Posts

Ngati mungafune kugwiritsa ntchito pulogalamu yosanja yokhayokha kuti mugwire ntchito yowonetsa zolemba, pali mapulagini aulere awiri omwe akuyenera kukwaniritsa ntchitoyo.

  • Relaterede indlæg til WordPress – Sakuchepetsa tsamba lanu la webusaiti yanu ndipo amagwiritsa ntchito cache yake kuti akweze zolemetsa zonse. Pangokhala zolemba zowonjezera zokhazokha ndipo pulojekiti imalola kusinthidwa. Pulogalamuyi ili ndi tsamba lapamwamba lomwe limapereka chithandizo chamtundu uliwonse ndi kulamulira kwakukulu pazithunzi zogwiritsa ntchito skabelon.
  • Zochitika Zina ndi Taxonomy – Pulogalamuyibilleder af ntchito funso losungidwa kuti lipeze zokhudzana nazo. Onjezerani zovuta kuzithunzi zofanana-siyana ndi tsiku ndi taksonomi / munthu payekha. Gwiritsani ntchito HTML yanu skabelon yomwe imalola kuti mukondweretse zambiri. Zizindikiro zochepa zimathandiza pakuwonetsa nambala yeniyeni yazomwe amagwiritsa ntchito pogwiritsa ntchito widgets.

Zowonjezereka Malo Kutengeka

Kuwonetsa mandandanda wokhudzana ndizowonjezereka kumawonjezera nthawi yomwe mlendo angathe kugwiritsa ntchito pa webusaiti yanu. Sungani mphamvu zake ndikuuzeni momwe zinayendera.

Jeffrey Wilson Administrator
Sorry! The Author has not filled his profile.
follow me
    Like this post? Please share to your friends:
    Adblock
    detector
    map