WordPress CodeHighlighter
Ok, think I’ve got the wrong Plugin. Looke like this one does the trick: SyntaxHighlighter Evolved Olivier
Ok, think I’ve got the wrong Plugin. Looke like this one does the trick: SyntaxHighlighter Evolved Olivier
Have you enabled Plugins for network sites, via the Network Admin? Also, MU (must-use) or network-activated Plugins won’t show in the site dashboard, IIRC.
Try this: $jobsTerms = get_terms(‘jobtype’,array( ‘taxonomy’ => ‘jobtype’ )); foreach($jobsTerms as $term){ $checked = (has_term($term->slug, ‘jobtype’, $post->ID)) ? ‘checked=”checked”‘ : ”; echo “<label for=”term-” . $term->slug . “”>” . $term->name . “</label>”; echo “<input type=”checkbox” name=”term” . $term->slug . “” value=”” . $term->name . “” $checked />”; } Replace $post_id with whatever you need to … Read more
Don’t know of a plugin that will do this specifically for a magazine, but it should be easy to implement in this way: Once a sale is triggered through the shopping cart: Have your shopping cart send an email to a autoresponder, such as aweber.com. Most WP shopping carts have functionality built in for a/r, … Read more
Try using AdRotate, it’s quite good. You can define block of ads that are displayed randomly (at will) at each page load. You can define single ads and the put it in your theme. You can paste the adsense code in the blocks, and you can manage all the aspects from the backend. Give it … Read more
In case it helps anyone else, i worked out how to do this using the Better WordPress External Links plugin and creating a page in root called exit.php in the plugin settings under “Prefix external links with” i chose “a custom url” and entered – http://mysite.com/exit.php?redirect= I also checked the box next to “Process page-wide … Read more
It is not exactly what I was looking for, but Table of Contents Plus also adds anchors to my headings.
There is no easy way to do this. You could query the WP database for wp_posts that are media uploads and then run a script to match those again the files in the uploads folder, but even this would be a little shaky.
Studying the code is an obvious approach. You can also try plugins, such as Debug Bar that can easily display you information, such as template being used and so what you are looking at.
The $wp_query object is used to store the main page query, so when you’re using $wp_query = new WP_Query( $args ); you’re wiping out the defaults. Hence, the wp_reset_query() has nothing to reset. To fix the problem, save your custom query object with a different name, maybe $mr_custom_query, and then when looping through it, use … Read more