Orion42 Blog

~IT made easy~

wordpress

Wordpress

How to add_submenu_page() passing a $variable (parameter=value) with called function

Since in WordPress you cannot pass directly a parameter into the callback function called by the add_submenu_page, I have figured out another simple way to do it. My problem was to pass a simple parameter into a sub-menu page, something…

Wordpress

How to have sticky pages on wordpess

You have to change a single line (#137) in  wp-admin/includes/meta-boxes.php from: <?php if ( $post_type == ‘post’ && current_user_can( ‘edit_others_posts’ ) ) : ?> to: <?php if ( in_array( $post_type, (array) apply_filters( ‘sticky_post_types’, array( ‘post’, ‘page’  )  ) ) &&…

Wordpress

Using microdata RDFa with Breadcrumb NavXT 4.4 (schema.org)

Small tutorial on how to set up RDFa microdata in Breadcrumb NavXT plugin on a Wordpress site for a structured data breadcrumb (for Google seo and serp)

Computer e tecnologia

[Risolto] – Errore fatale con il plugin di WordPress – MyEasyBackup.

Risoluzione di un problema con easyphp, wordpress e myeasybackup e un require_once() con path errato

Computer e tecnologia

[Risolto] Fatal error: Maximum execution time of 30 seconds exceeded in \wp-includes\class-http.php on line 1078

Se wordpress vi da problemi nell’aggiornamento fornendo un errore del tipo : Fatal error: Maximum execution time of 30 seconds exceeded in [vostro url]\wp-includes\class-http.php on line 1078 per risolverlo basterebbe modificare il massimo tempo di esecuzione degli script nel file…

Computer e tecnologia

WP-Modificare la posizione di sharedaddy in un post

Come cambiare la priorità di esecuzione dei filtri in wordpress.