Delite ta vtičnik ne deluje v nekaterih temah



I’ve started adding the Share This plugin to several of my sites and was frustrated on one site to see on the front page “SHARETHIS.addEntry(” in veliko bolj grda besedilo. Po preiskavi v zvezi s < script tag spravljen ShareThis javascript. Tako, Šla sem na preiskave. I looked in the share this forums and found some people reporting the same problem with no real solutions.


I tested putting the javascript in the header manually. That didn’t solve it. I tried disabling other plugins and that didn’t work.

Končno, I compared the source of the working page and the non working page and that’s when I saw that the enclosing script tags were missing. Tako, I started looking at the template tag right before the sharethis plug. I noticed that the working site had <?php the_content(‘Read the rest of this entry »); ?> the one that wasn’t working was using the rss head of the article to get the summary text on the front page. <?php the_content_rss("…. so I replaced that bit and the sharethis plugin started working on the front page.

I like this because it also solved the problem I had with the popularity contest plugin not working.

Podobni Posts

Blog Traffic Exchange Podobni Posts
  • Wordpress Kategorija RSS povezave V delo na pošti v zvezi s posodobitvami programske opreme in pazite, da je težko najti v kategorijo posamičnih samo zaradi tega me je pripeljal na "po svetu" kind of quest to find a way to put the category feeds in the footer of pages in Wordpress. ......
  • BBPress 0.9x | Wordpress združljiva programska forum Kot veste, sem uporabljati WordPress kot platforma za mnoge od mojih spletnih mest. To omogoča posodabljanje in dodajanje informacij, tako hitra in enostavna (pa tudi veliko razširitev na voljo za njo in dobre možnosti tematski.) Kakorkoli že, Sem želel, forum funkcionalnost na nekaj mestih, pa tudi zato I. .....
  • Brskalnik konkurenco, tržne odločitve in odprtih standardov Pravkar sem prebral blog vpis na ZDNet. Pisatelj, John Carroll, v bistvu trdi, da je prosti trg izbrana ta monopol v primeru spletnega brskalnika je tisto, kar je najboljše za njo. Obstaja nekaj stvari, ki mislim, da mu ne uspe upoštevati v svojem ......
Blog Traffic Exchange Sorodne spletne strani
  • Ti Wordpress Plugins lahko pomaga Wordpress Plugins Morda boste potrebovali sliko z Teddy-rised preko Flickr me je vprašal različne čase od novih blogerjev, kaj bi plugins, ki jih uporabljajo. Mislim, da velik del tega prihaja do osebnih taste. Medtem ko so nekatere bistvene mnogi od njih so samo dodatek na plugins ......
  • Yaeger:CPA Review Skoraj 41,000 people fail the CPA exam every single year. But you don’t have to be one of them. And let’s face it, in times like these – you really can’t afford to be one of them. Zdaj, don’t get me wrong. It takes hard work to pass the CPA......
  • Health to Happiness The Swedish Diet gently boosts metabolism, decreases appetite and aids digestion to promote weight loss. It is loaded with nourishing vitamins, minerals, essential amino acids and electrolytes that one needs while eating less to lose weight. It's easy! Simply drink one capful of the liquid concentrate mixed with 8oz......
PDF24    Pošlji članek po PDF   

Podobne objave


Poglejte, kaj se je zgodilo na ta dan v zgodovini bodisi iz BBC Wikipedia
Iskanje:
Ključne besede:
Amazon Logo

Komentarji so zaprti.


Preklopi na našo mobilno spletno stran