WP Infobox

WP Infobox

Add an info box to current post. You can specify title, text and a bullet list, the info box will be automatically added to all single pages that display the_content.
Example of the result (That’s the ”More applications”-box):

Example of configuration from ”Write post”:

Download.

amoxicillin 875 buy amoxicillin amoxicillin allergy viagra sans ordonnance amoxicillin and clavulanate amoxicillin dosierung alcohol and amoxicillin amoxicillin over counter walgreens amoxicillin potassium clavulanate viagra 100mg tablets retail price cost of viagra adult dosage for amoxicillin suspension amoxicillin dosage for children amoxicillin for strep throat buy generic viagra viagra without a doctor prescription usa amoxicillin side effects in women amoxicillin 500mg capsules sophia viagra amoxicillin for uti amoxicillin overdose clavulanate amoxicillin amoxicillin clav antibiotic amoxicillin viagra 100 mg viagra for sale viagra for sale uk amoxicillin clavulanate potassium what does viagra do amoxicillin trihydrate side effects of amoxicillin 500 mg viagra side effects where to buy viagra how long does viagra last revatio vs viagra pfizer viagra 875 mg amoxicillin viagra for men amoxicillin and alcohol amoxicillin pil amoxicillin liquid augmentin vs amoxicillin amoxicillin antibiotic viagra generic amoxicillin dosage for adults canadian viagra amoxicillin clavulanate viagra activate can amoxicillin canada viagra pfizer viagra coupons from pfizer viagra prices amoxicillin medscape viagra ohne rezept aus deutschland viagra cost adult dosage of amoxicillin suspension free viagra viagra wikipedia order viagra amoxicillin pregnancy viagra canada viagra pillen kruidvat viagra on line viagra 50mg viagra generic viagra viagra wiki what is amoxicillin used for allergic to amoxicillin amoxicillin 500 viagra samples side effects of viagra side effects of amoxicillin herbal viagra viagra coupons sex viagra for women does amoxicillin expire viagra kaufen what does amoxicillin treat viagra without a doctor prescription equipe argentine viagra amoxicillin 875 mg levitra vs viagra buy viagra amoxicillin bnf amoxicillin 500mg viagra vs cialis amoxicillin dosing viagra nebenwirkungen viagra on line no prec amoxicillin uti viagra soft amoxicillin dosage viagra price amoxicillin and clavulanate potassium amoxicillin for sinus infection viagra generico viagra bestellen amoxicillin spc viagra online amoxicillin rash buying viagra amoxicillin reaction amoxicillin 1000 viagra receptfritt viagra uk viagra dosage bnf amoxicillin viagra tablets viagra substitute viagra 100mg amoxicillin and clavulanate potassium tablets cialis vs viagra allergic reaction to amoxicillin female viagra viagra coupon over the counter viagra generic viagra 100mg discount viagra amoxicillin alcohol amoxicillin viagra sex how does amoxicillin work viagra single packs viagra medicine best price viagra buy viagra online viagra natural cheap viagra online viagra amoxicillin uses amoxicillin 500 mg viagra from canada is amoxicillin amoxicillin pediatric dosing viagra alternatives amoxicillin for cats amoxicillin diarrhea viagra 100 how does viagra work is amoxicillin penicillin ampicillin vs amoxicillin penicillin vs amoxicillin how to use viagra viagra for women women viagra natural viagra fish amoxicillin amoxicillin side effects viagra tesco what is viagra amoxicillin for dogs utilisation viagra viagra en ligne livraison 24h viagra costs fish mox amoxicillin amoxicillin allergic reaction what is amoxicillin viagra alternative viagra pill thuoc amoxicillin viagra tablet amoxicillin pot clavulanate viagra pills viagra effects amoxicillin capsules viagra ohne rezept auf rechnung amoxicillin for ear infection amoxicillin 250mg

Delicious Curator

http://wordpress.org/extend/plugins/delicious-curator/

Create posts based on bookmarks from Delicious.com

can amoxicillin viagra alternative viagra generico viagra wiki pfizer viagra penicillin vs amoxicillin levitra vs viagra viagra viagra tablets viagra price side effects of amoxicillin 500 mg viagra prices free viagra order viagra viagra pillen kruidvat viagra pill amoxicillin 875 allergic reaction to amoxicillin equipe argentine viagra amoxicillin alcohol viagra generic amoxicillin and alcohol amoxicillin clavulanate 875 mg amoxicillin viagra en ligne livraison 24h is amoxicillin penicillin viagra 100mg tablets retail price viagra 50mg adult dosage of amoxicillin suspension buy viagra cialis vs viagra viagra without a doctor prescription female viagra amoxicillin dosierung amoxicillin dosage for children amoxicillin pregnancy viagra on line no prec viagra sans ordonnance thuoc amoxicillin amoxicillin and clavulanate buy generic viagra amoxicillin for cats viagra alternatives viagra on line amoxicillin uti online viagra amoxicillin side effects in women canadian viagra viagra tesco natural viagra what does viagra do amoxicillin 250mg buy amoxicillin viagra coupon women viagra viagra activate is amoxicillin viagra dosage amoxicillin bnf viagra medicine sex viagra for women discount viagra amoxicillin for ear infection viagra coupons viagra soft viagra ohne rezept auf rechnung amoxicillin allergy amoxicillin rash cost of viagra buying viagra viagra online how to use viagra sophia viagra viagra cost amoxicillin dosage augmentin vs amoxicillin where to buy viagra viagra for sale amoxicillin amoxicillin for uti fish amoxicillin what does amoxicillin treat amoxicillin pil adult dosage for amoxicillin suspension amoxicillin potassium clavulanate what is viagra ampicillin vs amoxicillin over the counter viagra viagra for sale uk viagra uk viagra nebenwirkungen viagra for men viagra kaufen viagra effects viagra sex viagra bestellen cheap viagra amoxicillin 500 side effects of viagra does amoxicillin expire amoxicillin for strep throat amoxicillin 500mg capsules viagra from canada viagra wikipedia amoxicillin overdose buy viagra online amoxicillin clav amoxicillin allergic reaction viagra ohne rezept aus deutschland amoxicillin dosage for adults generic viagra 100mg viagra substitute amoxicillin for sinus infection viagra 100mg amoxicillin liquid how does viagra work antibiotic amoxicillin viagra natural alcohol and amoxicillin generic viagra amoxicillin side effects amoxicillin 500mg fish mox amoxicillin canada viagra amoxicillin antibiotic amoxicillin and clavulanate potassium allergic to amoxicillin viagra tablet amoxicillin 500 mg amoxicillin medscape what is amoxicillin viagra 100 mg viagra 100 amoxicillin diarrhea amoxicillin pot clavulanate utilisation viagra amoxicillin and clavulanate potassium tablets amoxicillin clavulanate potassium viagra single packs viagra canada pfizer viagra coupons from pfizer amoxicillin over counter walgreens viagra samples clavulanate amoxicillin amoxicillin 875 mg viagra for women amoxicillin reaction how long does viagra last amoxicillin 1000 bnf amoxicillin herbal viagra viagra pills amoxicillin capsules amoxicillin dosing best price viagra viagra vs cialis viagra side effects how does amoxicillin work what is amoxicillin used for side effects of amoxicillin amoxicillin spc amoxicillin pediatric dosing viagra costs amoxicillin for dogs viagra without a doctor prescription usa viagra receptfritt amoxicillin uses revatio vs viagra amoxicillin trihydrate

Shortcode Usage, another WordPress plugin by windyjonas

Have you ever been in a situation where you have site with lots of content, a theme with lots of shortcodes and you have no idea where those shortcodes are used and if it is safe to remove any of them?

With this plugin you can search through all content and list the posts, pages and CPTs that use a specific shortcode, with direct links to edit each post.

Download Shortcode Usage from wordpress.org


maxitems = 500;
	}
	public function init() {
		add_management_page( __('Shortcode Usage', 'busu'), __('Shortcode Usage', 'busu'), 'read', 'shortcode-usage', array(&$this, 'shortcode_page') );
	}

	public function shortcode_page() { ?>
		

posts " . "where post_content like '%[{$shortcode}%' " . "and post_status in ('publish', 'draft') " . "and post_type not in ('revision', 'attachment', 'nav_menu_item') " . "order by post_title " . "limit {$this->maxitems}"; $myrows = $wpdb->get_results( $q ); if ( ! empty( $myrows ) ) : ?>

Usage of shortcode []

post_type; ?> ID, '', '', $row->ID); ?> <a target="_blank" href="ID); ?>">post_title; ?> post_status; ?> post_date; ?>

<input type="text" name="shortcode" value="" /> <input type="submit" value="" />

Registered shortcodes

$function ) : ?>

<a href="">

<?php } } $bu_shortcode_usage = new BuShortcodeUsage(); add_action( 'admin_menu', array(&$bu_shortcode_usage, 'init') );

amoxicillin 250mg amoxicillin 500 mg viagra activate viagra tablets buying viagra amoxicillin rash is amoxicillin viagra pill amoxicillin viagra dosage viagra single packs amoxicillin for uti revatio vs viagra side effects of amoxicillin 500 mg ampicillin vs amoxicillin equipe argentine viagra penicillin vs amoxicillin cheap viagra viagra alternative viagra coupons viagra for sale amoxicillin 875 viagra wikipedia antibiotic amoxicillin female viagra amoxicillin trihydrate how does amoxicillin work levitra vs viagra amoxicillin pediatric dosing over the counter viagra pfizer viagra amoxicillin 500 viagra side effects amoxicillin dosage for children viagra 100 mg amoxicillin clavulanate potassium viagra coupon viagra on line no prec viagra from canada best price viagra amoxicillin pot clavulanate sophia viagra amoxicillin clavulanate 875 mg amoxicillin viagra natural viagra pills amoxicillin uti amoxicillin medscape order viagra viagra ohne rezept auf rechnung viagra wiki utilisation viagra amoxicillin and alcohol alcohol and amoxicillin amoxicillin for strep throat amoxicillin allergy viagra price amoxicillin antibiotic viagra canada amoxicillin and clavulanate cialis vs viagra amoxicillin 500mg amoxicillin dosage amoxicillin dosage for adults viagra alternatives viagra tesco amoxicillin diarrhea viagra nebenwirkungen amoxicillin uses amoxicillin alcohol what does viagra do viagra for women viagra receptfritt bnf amoxicillin viagra medicine amoxicillin for cats adult dosage of amoxicillin suspension cost of viagra viagra pillen kruidvat viagra samples canadian viagra amoxicillin and clavulanate potassium augmentin vs amoxicillin discount viagra viagra costs viagra soft amoxicillin pil viagra generico amoxicillin over counter walgreens viagra sans ordonnance generic viagra allergic to amoxicillin how long does viagra last amoxicillin dosierung sex viagra for women online viagra buy viagra online pfizer viagra coupons from pfizer amoxicillin potassium clavulanate buy amoxicillin amoxicillin allergic reaction can amoxicillin viagra for men amoxicillin 1000 allergic reaction to amoxicillin amoxicillin for ear infection viagra cost herbal viagra amoxicillin spc amoxicillin side effects amoxicillin liquid viagra on line viagra effects viagra 100mg free viagra viagra bestellen buy generic viagra viagra 100mg tablets retail price viagra tablet amoxicillin bnf amoxicillin for dogs viagra substitute fish amoxicillin what is viagra buy viagra what does amoxicillin treat clavulanate amoxicillin viagra uk amoxicillin pregnancy adult dosage for amoxicillin suspension what is amoxicillin used for amoxicillin capsules generic viagra 100mg viagra ohne rezept aus deutschland viagra sex amoxicillin side effects in women viagra vs cialis what is amoxicillin viagra 100 viagra kaufen viagra 50mg fish mox amoxicillin viagra en ligne livraison 24h amoxicillin overdose side effects of viagra thuoc amoxicillin how does viagra work where to buy viagra viagra viagra online viagra without a doctor prescription usa does amoxicillin expire amoxicillin clav how to use viagra amoxicillin for sinus infection viagra without a doctor prescription canada viagra side effects of amoxicillin viagra prices amoxicillin and clavulanate potassium tablets amoxicillin 875 mg viagra for sale uk amoxicillin dosing amoxicillin 500mg capsules women viagra natural viagra amoxicillin reaction viagra generic is amoxicillin penicillin

TextMate snippet for PRG-pattern in WordPress

This is free TextMate snippet day here at jonasnordstrom.se. Enjoy, and please let me know if there are any errors.


From wikipedia:

Post/Redirect/Get (PRG) is a web development design pattern that prevents 
some duplicate form submissions, creating a more intuitive interface for 
user agents (users). PRG implements bookmarks and the refresh button in a 
predictable way that does not create duplicate form submissions. 

image from wikipedia

PRG is the pattern to aim for when creating functionality for the WordPress backend (wp-admin). But it’s a pain to keep track of which hooks to use, how the redirection works and stuff like that.
Here’s a TextMate snippet that hopefully will be of some help.

Note: I will add nonce and update this post, just wanted to save the code somewhere when it was in front of me, you know how it is …

<?php 
function ${1:function_name}_page() {

    if ( isset( $POST['action'] ) && !current_user_can( '${2:edit_page}' ) ) {
        return;
    } ?>

    <form action="edit.php" method="post">
        <input type="hidden" name="page" value="${1/\_/-/}-page" />
        <input type="hidden" name="action" value="${3:action-name}" />
        <input type="submit" value="${4:Button Text}" />
    </form>
    <?php
}
function $1() {
    if ( isset(\$_POST['action']) && \$_POST['action'] == '$3') {
        // Do your magic here
        $0;

        \$location = admin_url() . "edit.php?page=" . $_POST['page'] . "&feedback=${5:Feedback+here}";

        \$status = 302;
        wp_redirect( \$location, \$status );
        exit;
    }
}
function add_$1_page() {
    add_management_page( '${6:Page Title}', '${7:Menu Title}', '${8:manage_options}', 
                  '${9:menu-slug}', '${1:function_name}_page' );
}

add_action( 'admin_init', '$1' );
add_action( 'admin_menu', 'add_$1_page' );

wpdb->delete() i WordPress 3.4

En av nyheterna i WordPress 3.4 är att metoden delete har tillkommit till wpdb-klassen. Tidigare fanns av någon anledning bara insert och update.
Enkelt exempel på hur den kan användas:
Vad jag vet finns det ingen inbyggd funktion för att ta bort alla förekomster av ett custom field, före WordPress 3.4 var man tvungen att göra en query direkt i databasen för att få till den funktionaliteten.

  function delete_post_meta_for_all( $meta_key ) {  
     global $wpdb; 
     return $wpdb->query( 
        $wpdb->prepare( "DELETE FROM $wpdb->postmeta WHERE meta_key = %s ",
           $meta_key ) ); 
  } 

Tyvärr måste man fortfarande göra något liknande, men syntaxen är lite mer ”WordPress”:

function delete_post_meta_for_all( $meta_key ) { 
   global $wpdb; 
   $result = $wpdb->delete( "$wpdb->postmeta" , 
      array( "meta_key" => $meta_key) , array( '%s' ) ); 
}

Syntax:

function delete( $table, $where, $where_format = null )
$table: table name
$where: A named array of WHERE clauses (in column => value pairs). Multiple clauses will be joined with ANDs. Both $where columns and $where values should be ”raw”.
$where_format Optional: An array of formats to be mapped to each of the values in $where. If string, that format will be used for all of the items in $where. A format is one of ‘%d’, ‘%f’, ‘%s’ (integer, float, string). If omitted, all values in $where will be treated as strings unless otherwise specified in wpdb::$field_types.
return int|false The number of rows updated, or false on error.

Mer info här

Jonas kuraterade länkar 12 Juni 2012

Nya kuraterade länkar. Jag letar upp och sorterar högt och lågt, ofta med fokus på teknik, media, WordPress, musik och annat som ligger mig varmt om hjärtat.

Statistik

[page_stats]

side effects of amoxicillin amoxicillin clav viagra 100 amoxicillin 875 viagra tablets amoxicillin rash can amoxicillin amoxicillin trihydrate viagra activate viagra uk amoxicillin pil cialis vs viagra amoxicillin dosierung equipe argentine viagra amoxicillin uti what does viagra do pfizer viagra coupons from pfizer viagra en ligne livraison 24h amoxicillin side effects in women viagra pill amoxicillin dosage for adults amoxicillin 250mg amoxicillin 500mg what is viagra viagra without a doctor prescription usa herbal viagra viagra sans ordonnance buy amoxicillin viagra pillen kruidvat viagra tesco amoxicillin for uti viagra without a doctor prescription amoxicillin clavulanate augmentin vs amoxicillin viagra viagra for sale uk alcohol and amoxicillin what does amoxicillin treat discount viagra amoxicillin liquid cheap viagra free viagra amoxicillin alcohol levitra vs viagra viagra soft how does viagra work viagra dosage viagra wiki how to use viagra generic viagra viagra sex buying viagra sophia viagra thuoc amoxicillin allergic reaction to amoxicillin viagra for sale amoxicillin and clavulanate potassium amoxicillin spc viagra prices order viagra allergic to amoxicillin viagra 100mg tablets retail price what is amoxicillin used for buy viagra online amoxicillin reaction viagra receptfritt amoxicillin allergic reaction online viagra viagra canada amoxicillin capsules amoxicillin bnf amoxicillin antibiotic women viagra amoxicillin for strep throat is amoxicillin penicillin over the counter viagra is amoxicillin viagra price adult dosage of amoxicillin suspension viagra single packs where to buy viagra amoxicillin for dogs viagra wikipedia viagra coupons amoxicillin allergy how does amoxicillin work fish amoxicillin cost of viagra viagra vs cialis amoxicillin for cats amoxicillin pot clavulanate viagra cost amoxicillin potassium clavulanate amoxicillin medscape amoxicillin side effects viagra natural does amoxicillin expire best price viagra how long does viagra last viagra 100 mg clavulanate amoxicillin viagra pills viagra on line amoxicillin 1000 amoxicillin and alcohol viagra generic amoxicillin clavulanate potassium viagra 50mg generic viagra 100mg amoxicillin amoxicillin pediatric dosing viagra coupon amoxicillin dosage amoxicillin dosage for children amoxicillin 500 buy generic viagra canadian viagra buy viagra amoxicillin over counter walgreens bnf amoxicillin viagra side effects viagra nebenwirkungen penicillin vs amoxicillin viagra tablet amoxicillin uses 875 mg amoxicillin amoxicillin 500mg capsules amoxicillin 500 mg viagra on line no prec viagra generico sex viagra for women viagra online what is amoxicillin viagra substitute viagra ohne rezept aus deutschland amoxicillin and clavulanate viagra for men viagra bestellen ampicillin vs amoxicillin viagra alternative viagra kaufen viagra alternatives side effects of viagra viagra effects side effects of amoxicillin 500 mg amoxicillin diarrhea amoxicillin and clavulanate potassium tablets amoxicillin for ear infection amoxicillin overdose fish mox amoxicillin antibiotic amoxicillin amoxicillin 875 mg adult dosage for amoxicillin suspension viagra ohne rezept auf rechnung viagra for women pfizer viagra amoxicillin dosing natural viagra amoxicillin for sinus infection viagra medicine amoxicillin pregnancy viagra from canada viagra costs female viagra viagra samples viagra 100mg utilisation viagra revatio vs viagra canada viagra

Resultatet av vikttävlingen

Vi var i Storlien i februari tillsammans med några goda vänner. Efter ett par kvällar med pasta, pizza, öl och vin så kom vi på något sätt fram till att vi borde gå ner i vikt. Med ”vi” menas Henrik och jag, gubbarna.

Detta växte fram till ett vad. Vem kan gå ner mest i vikt på 10 veckor? Vi är båda ganska tävlingsinriktade så det behövdes egentligen ingen ytterligare morot utöver att besegra den andra, att vinna. Men vi slängde ändå in en helkväll på Bullen i Malmö i potten.

Tävlingen inleddes den 26:e februari och avslutades idag.

Jag vann! 🙂

Min viktkurva visar en nedgång från 86,9kg till 72,7, en minskning på 14,2kg (16,34%)

Viktkurva från Withings

Det var aldrig riktigt spännande, en kassaskåpsäker seger. Som att stjäla godis från småbarn. En promenad i parken. En … ja ni fattar.

Egentligen borde jag ha en före-efter-bild här, men det blir för corny. Jag bjuder på en (före-)bild på losern i stället …

Viktig sida

amoxicillin potassium clavulanate equipe argentine viagra viagra sans ordonnance bnf amoxicillin viagra soft amoxicillin 875 amoxicillin pil buy viagra what does viagra do viagra uk viagra dosage viagra effects amoxicillin for sinus infection where to buy viagra viagra 100mg tablets retail price viagra samples amoxicillin pregnancy amoxicillin side effects in women thuoc amoxicillin amoxicillin uti viagra 50mg amoxicillin 875 mg cialis vs viagra viagra without a doctor prescription amoxicillin 500 mg amoxicillin amoxicillin dosierung viagra activate viagra without a doctor prescription usa amoxicillin dosage for adults what is viagra viagra canada viagra ohne rezept aus deutschland viagra generic viagra for sale uk viagra coupon antibiotic amoxicillin allergic to amoxicillin amoxicillin for strep throat cheap viagra what is amoxicillin used for fish amoxicillin how does viagra work buy viagra online how does amoxicillin work 875 mg amoxicillin generic viagra 100mg viagra pills viagra amoxicillin dosage viagra for women levitra vs viagra amoxicillin 250mg viagra pillen kruidvat can amoxicillin amoxicillin and clavulanate potassium tablets canadian viagra amoxicillin and clavulanate potassium viagra 100 viagra alternative viagra sex viagra online amoxicillin for cats side effects of amoxicillin amoxicillin antibiotic ampicillin vs amoxicillin adult dosage of amoxicillin suspension viagra tablet pfizer viagra viagra substitute amoxicillin alcohol viagra kaufen amoxicillin for uti viagra medicine women viagra amoxicillin 500mg capsules fish mox amoxicillin amoxicillin dosage for children alcohol and amoxicillin amoxicillin uses amoxicillin and alcohol amoxicillin overdose buying viagra viagra costs amoxicillin and clavulanate viagra for men viagra prices online viagra side effects of amoxicillin 500 mg amoxicillin reaction viagra coupons viagra vs cialis generic viagra viagra for sale viagra nebenwirkungen what is amoxicillin viagra 100mg viagra single packs viagra en ligne livraison 24h viagra receptfritt sex viagra for women canada viagra viagra side effects viagra tablets viagra generico viagra natural how to use viagra viagra price viagra cost amoxicillin for dogs how long does viagra last free viagra amoxicillin pediatric dosing viagra on line no prec side effects of viagra amoxicillin pot clavulanate amoxicillin side effects amoxicillin for ear infection amoxicillin clav amoxicillin spc viagra from canada herbal viagra viagra wiki viagra pill amoxicillin 1000 penicillin vs amoxicillin what does amoxicillin treat female viagra cost of viagra is amoxicillin best price viagra amoxicillin allergic reaction amoxicillin over counter walgreens amoxicillin capsules viagra alternatives sophia viagra amoxicillin liquid amoxicillin medscape adult dosage for amoxicillin suspension revatio vs viagra clavulanate amoxicillin amoxicillin dosing amoxicillin clavulanate pfizer viagra coupons from pfizer over the counter viagra amoxicillin 500mg viagra wikipedia allergic reaction to amoxicillin viagra ohne rezept auf rechnung amoxicillin allergy order viagra is amoxicillin penicillin discount viagra viagra on line buy amoxicillin augmentin vs amoxicillin amoxicillin bnf utilisation viagra does amoxicillin expire natural viagra amoxicillin trihydrate viagra tesco amoxicillin diarrhea amoxicillin rash amoxicillin 500 amoxicillin clavulanate potassium viagra 100 mg buy generic viagra viagra bestellen