WooCommerce product title formatting

Add Brand as taxonomy: if ( ! function_exists( ‘brand_tax’ ) ) { // Register Custom Taxonomy function brand_tax() { $labels = array( ‘name’ => _x( ‘Brands’, ‘Taxonomy General Name’, ‘text_domain’ ), ‘singular_name’ => _x( ‘Brand’, ‘Taxonomy Singular Name’, ‘text_domain’ ), ‘menu_name’ => __( ‘Brands’, ‘text_domain’ ), ‘all_items’ => __( ‘All brands’, ‘text_domain’ ), ‘parent_item’ => … Read more

WordPress no longer holding post formatting

TinyMCE – at least, as-configured for WordPress – isn’t explicitly designed for copying/pasting of text richly formatted in other word processors. That said: how are you pasting? Are you simply copy/pasting (i.e. via CTRL-C, CTRL-V; or else via right-clicking and using contextual menu commands), or are you using the “Paste From Word” button on the … Read more

What does the Global Variable $s represent?

It’s not a global variable; in fact it’s not a variable at all. It’s just placeholder within the sprintf() function. Take a look at the sprintf PHP function documentation. In the example you cite, the author is using the ‘argument swapping’ placeholder syntax: %n$t where %n is the placeholder number that corresponds to the argument … Read more

How do you edit the html of teaser excerpts

wordPress does this by default. you can either use a plugin such as: http://wordpress.org/extend/plugins/advanced-excerpt/ http://wordpress.org/extend/plugins/the-excerpt-re-reloaded/ or write your own functions to remove the default filters from the_excerpt() such as: http://bacsoftwareconsulting.com/blog/index.php/wordpress-cat/how-to-preserve-html-tags-in-wordpress-excerpt-without-a-plugin/

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)