Tag Archives: wordpress

Retrieving blog posts using C# and the WordPress REST API


As part of my new professional website that I hope to release later this year, I thought it would be a good idea to dedicate a part of my site to this blog. Instead of choosing the rather traditional  way of integrating blogs (e.g. embedded HTML snippets), I have chosen to take a look at its Web API. […]

https://hendrikbulens.wordpress.com/2015/05/05/c-and-the-wordpress-api/

How to add custom template using woocommerce.


How to add custom template using woocommerce. 1.Find the template file you want to change inside “wp-content/plugins/woocommerce/templates” . For Ex: “wp-content/plugins/woocommerce/templates/order/order-details.php” 2.Create folders in your plugin “wp-content/plugins/YOUR-PLUGIN/templates/order/order-details.php”. You can make changes in this file as per your needs. 3. Add the following code in your plugin file: 4.Thats it. Default template will be overridden with […]

https://blackandwhiteshades.wordpress.com/2015/08/06/how-to-add-custom-template-using-woocommerce/

Deploying WordPress to Amazon Web Services AWS EC2 and RDS via ElasticBeanstalk


Src: https://www.otreva.com/blog/deploying-wordpress-amazon-web-services-aws-ec2-rds-via-elasticbeanstalk/ A common question we get asked is how do I ensure my WordPress application can scale with an influx of demand? What can I do do ensure high uptimes and great performance? As a member of the AWS Partner Network, our typical response is to build an auto-scaling, self healing cloud application using AWS […]

https://yidonghan.wordpress.com/2014/12/19/deploying-wordpress-to-amazon-web-services-aws-ec2-and-rds-via-elasticbeanstalk-2/

Override parent shortcodes in your WordPress Child Theme


Overriding shortcode defined in WordPress parent theme is pretty easy. Just use a after_theme_setup section in functions.php of the child theme; example: add_action( ‘after_setup_theme’, ‘my_child_theme_setup’ ); function my_child_theme_setup() { remove_shortcode( ‘your_shortcode’ ); add_shortcode( ‘your_shortcode’, ‘my_shortcode_function’ ); } function my_shortcode_function( $atts, $content = null ) { extract(shortcode_atts(array( ), $atts)); $out = ‘content”>’.do_shortcode($content).’

‘; return $out; }