The Yoast WordPress SEO plugin doesn’t support SEO for custom taxonomies. Heres is a quick snippet to add in your functions.php file: function cus_update_seo_title( $str ) { if ( is_tax( ‘your_taxonomy_slug’ ) ){ return ‘here comes custom title ‘.single_term_title( ”, false ).’ and more here if required’; } else { […]
How to customise CSS for a specific word...
I was using the same template for 2 different websites and had to customize some CSS only on 1 site. I still wanted to keep only 1 template version. I edited the template body classes using the wordpress body_class function. Before the changes the body html tag looked like this: <body <?php body_class(); ?>> and after […]
Magento and WordPress integration: no co...
After installing the Fishpig WordPress Integration for Magento, no content was displayed on the blog front page and no content was displayed on individual pages. The Extension was installed and setup properly as all links were working properly (blog homepage, posts, categories, …). We also had no error in Magento Extension setup and no errors […]
Customize Paymo invoices by changing col...
I’m using Paymo.biz for my invoices and time tracking since almost a year and I’m always frustrated that I can’t further customize the invoice like changing the column headers. These headers can be changed manually each time you create an invoice but it’s time consuming so i came up with a solution that works for […]
Nice URL for WordPress custom variables
WordPress’s permalink feature is already great and really helpful for good SEO. But sometimes you need custom variables in your url like http://www.ptitsuisse.com/custom-variable-example/?brand=htc&model=desirehd but this is not SEO friendly, it’s hard to remember and doesn’t look good. http://www.ptitsuisse.com/custom-variable-example/htc/desirehd This is better and needs only a small change to your theme functions.php file to work. function […]