You may have noticed that we’ve tweaked how we display our adsense ads. We wanted some small text-only ads near the bottom of each article, which would be added automatically. This took a little bit of tinkering, but eventually we developed a solution which works well and doesn’t seem to knock page processing times much. Simply add the following code to your theme’s functions.php (don’t forget to change your adsense IDs) … Read Full Article
Categorised पदों: Wordpress
0आसानी से एक WordPress टिप्पणी के जनक निर्धारित
As is documented in the site update log, for a while we had a problem with our theme where it wasn’t possible to reply to a comment so that the reply would appear correctly in a threaded way. We have no fixed this problem, but have been left with a significant number of comments which really need editing so it is easier to see what they are in reply to. With a standard wordpress install this requires going into the database and editing there, which is very tedious. Instead, we’ve used some simple functions to add an option to the comment-edit admin page, to set the comment parent there. Eventually this will be developed into a proper plugin to enable this functionality. For now the code is below, just add it to your theme’s functions.php
1Jetpack बिना Jetpack शैली टिप्पणियाँ
One of the best things about wordpress is the built-in social aspect provided by comments. Getting your comment section right can be very important to any website, including ours. Over the years we’ve experimented with various comment plugins including Disqus and more recently Jetpack. However, we’ve always ended up bring things back in house for management, performance and privacy reasons. When I moved back from Jetpack comments I really missed some of the slick features provided by Jetpack, both the social-network logins and the general slick styling. Anyway, to cut a long story short I finally had time today to take a good look at how wordpress “does” comments and figure out a way to build an in-house system which looks nice and slick like the comment interface provided by jetpack. Best of all its surprisingly simple and does things the “proper” way…
… Read Full Article
9बीस ग्यारह विषय के लिए रिच स्निपेट्स कोड
I’ve previously detailed the code for enabling rich snippets in various wordpress themes ([intlink id=“2948” type=“post”]रहस्यपूर्ण 2[/intlink], [intlink id=“2949” type=“post”]रहस्यपूर्ण 3[/intlink], [intlink id=“2468” type=“post”]थीसिस[/intlink] & [intlink id=“3017” type=“post”]Me Gusta[/intlink]) as well as some [intlink id=“1520” type=“post”]generic instructions[/intlink]. Below is a set of edits to enable rich snippets in the built-in wordpress twenty eleven theme.
0Rich snippets code for Me Gusta theme
I’ve previously covered theme edits for rich snippets for various themes including [intlink id=“2948” type=“post”]रहस्यपूर्ण 2[/intlink], [intlink id=“2949” type=“post”]रहस्यपूर्ण 3[/intlink], [intlink id=“2468” type=“post”]थीसिस[/intlink] & [intlink id=“3015” type=“post”]Twenty Eleven[/intlink] as well as some [intlink id=“1520” type=“post”]generic instructions[/intlink]. Below are details of the code for how to validate rich snippets in the Me Gusta by Cosmos theme.
2Rich snippets code for Mystique 3.x
I’ve previously written about rich snippets code for[intlink id=“2948” type=“post”]रहस्यपूर्ण 2[/intlink]. There are also[intlink id=“1520” type=“post”]generic instructions[/intlink] and code for the themes [intlink id=“3015” type=“post”]twenty eleven[/intlink], [intlink id=“3017” type=“post”]me gusta[/intlink] तथा [intlink id=“2468” type=“post”]thesis[/intlink]. Below is updated code for Mystique 3
0Rich Snippets code for Mystique 2.x
In addition to this site I have a personal blog जहां, amongst other things, I post recipes. I’ve recently discovered google’s new recipe search, and have been looking to implement support for microformats / microdata. Google provide a tool for checking your markup, called the “अमीर कटाव-जाते परीक्षण आईएनजी उपकरण". When I tried validating one of my recipes, I encountered various errors, which have taken me a while to track down and resolve. … Read Full Article
0निश्चित: Deprecated PHP errors in wordpress dashboard
Earlier today I updated our test site, in preparation for rolling updates out to the main site. This involved updating several plugins and replacing the “BeforeTheDeadline” plugin with Jetpack. After completing the updates I found I was getting several error messages on the dashboard, under the “incoming links” dashboard widget, and even more errors when I tried to empty the W3 Total Cache caches.
22थीसिस थीम के लिए रिच स्निपेट्स कोड
In response to a query by Darko Kovancives on my previous article about[intlink id=“1520” type=“post”]fixing Rich Snippets code for the Mystique theme[/intlink] we have resolved the same issues with the Thesis theme. Details of the changes required are below.… Read Full Article
0रहस्यपूर्ण 3 विषय: पूर्ण पोस्ट और कुछ अंशः
मैं घर पृष्ठ पर पूर्ण पदों को प्रदर्शित करने के लिए बाहर निकालने की कोशिश कर रहा है, के बारे में के लिए सभी अभिलेखागार पर और कुछ अंशः 3 days. This is nice because it means a decent amount of each post is shown on the front page, whilst archive pages contain a much more concise summary of each post. This is better both for humans, और भी इस - मेरे संग्रह पृष्ठों अब मेरे घर पृष्ठ से नकल सामग्री के लिए नहीं है!
I’ve finally produced a solution. It’s not especially elegant, but I’ve been at the very limit of my PHP knowledge just to achieve this method. This applies specifically to the Mystique 3 विषय, other themes are likely to vary, although some of this information may or may not prove relevant. If you are trying or succeed in doing the same to a different theme do drop a comment in.… Read Full Article
“Hi James I realise it has been a long while, but I just checked this on windows 11 (build 23H2)…”