Tag: WordPress

  • eval() error check

    We all know how dangerous eval() is in terms of security, but still it is the necessary evil sometimes. I’ve been developing a script last week that required eval() execution. I did pretty granular input validation with regular expressions and known troubleish test cases. Still, some expressions passed to the eval() function were prone to…

  • Recommended WP hostings – Podcast

    Recently I found a research on WP hosting providers by WPShout – http://wpshout.com/wordpress-hosting-review/ . It is a pretty good review and I have used servers from most of the hosting providers listed there so I decided that this could be my next podcast. In this review I’m going through the list from the site summarizing what is…

  • The Business-IT Industry Relationship

    The WordPress platform allows for a number of users to build business ideas over a number of options. Browsing online or offline (at a WordCamp or a regular WordPress meetup event) we could get in touch with WP developers, designers, writers, system administrators, support engineers and other technical. On the other hand, small teams are…

  • Xdebug for Fedora with PHP 5.3

    In February I wrote a guide on setting up Xdebug for Eclipse usage under Ubuntu. Using a neat debugger while exploring an existing WordPress project is a must and among the two possibilities (the Zend one or Xdebug) I use Xdebug. However, setting it up on my ThinkPad took a bit more time due to…

  • Quick tip: get_terms with all terms

    The get_terms WordPress function is listing all your terms for a given taxonomy (or taxonomies). However, the default callback returns only the terms with entries. Therefore your empty terms won’t be visible unless you use the hide_empty parameter with a false value, like this: [php] $product_terms = get_terms( ‘product’, array( ‘hide_empty’ => false ) );…

  • Prodcast.fm – A New Productivity Podcast

    My friend Slobodan has just started his new podcast – ProdcastFM. The podcast would be focused on productivity and efficiency, which happens to be an important topic for a lot of people in the WordPress community – freelancers, consultants, clients, employers. To stay “on-topic”, after all, I’ll also share few of my productivity tips: We…

  • Sass in 5 – slides from OpenFest 2012

    I had a lightning talk about Sass over the weekend at the largest open source conference on the Balkans – OpenFest. We’ve been using it in the past few projects and the improvement in the CSS code design is remarkable. Sass in 5 from Mario Peshev   Sass is pretty handy when comes to a CSS file…

  • Add a TinyMCE button to WordPress post editor

    Most themes and large plugin utilize the WordPress Shortcode API by adding code snippets that could be parsed inside of a page or post. One of the handy ways to present a UI behavior for your customers is by embedding the functionality to the TinyMCE editor as an extra button. You need to create two…