Posts Tagged “PHP”

Hash 1.1: IRC/HipChat-like chat system built on PHP, jQuery, HTML, & CSS

First off, this is my first post about Hash, a “secret” chat project I’ve been working on to replace my personal IRC woes […]

0
22nd Feb 2014
Web Development
, , , , , , , ,

Submit WordPress theme without sidebar / register_sidebar hack

Below is what I used to get past Theme Check for WordPress since it required register_sidebar, but I did not have any sidebars. […]

0
17th Oct 2013
Web Development
, , , ,

XAMPP Sendmail using Gmail account

This is how I did it: Okay, today, the best answer did not work for me. But, this did: in┬ásendmail.ini: [sendmail] smtp_server=smtp.gmail.com smtp_port=587 […]

0
13th Jun 2012
Uncategorized, Web Development
, , , , , , , ,

WordPress Change Default Display Name Publicy As for all existing users

<?php //Sets the user’s display name (always) to first name last name, when it’s avail. add_action (‘admin_head’,’make_display_name_f_name_last_name’); function make_display_name_f_name_last_name(){ $users = get_users(array(‘fields’=>’all’)); foreach($users […]

2
13th Jun 2012
Uncategorized, Web Development
, , , , , , ,

How to filter / exclude posts by id in list of posts in WordPress Dashboard / Admin

Okay, so I’ve answered my own question. Here is some code on how I did it. function exclude_list_per_function( $query ) { global $wpdb; […]

0
12th Jun 2012
Uncategorized, Web Development
, , , , , ,