Profile
Achievement
xavsio4's Recent Snippets
- All /
« Prev 1 Next »
This sql statement enables to detect duplicates entries over a key and creates a seq column which says which one is the sequence of the duplicates. This way you can take only the seq = 1 and still be able to identify all duplicates
0
1067
posted 13 years ago by xavsio4
<?php>
<!–Default>
<?php>
Note that sidebar.php must not always content the sidebar
0
670
posted 13 years ago by xavsio4
Simply paste the code below and insert your Google Analytics where it says paste your Google Analytics. You can paste the code once in your functions.php file and never have to worry about it again. We are adding an action to the wp_footer, so it wil...
0
799
posted 13 years ago by xavsio4
This function will loop all the registered post types, and for each post type create a meta box with given data. Here links is assimilated to post types
0
721
posted 13 years ago by xavsio4
To enablefeatured image on a post, just open your theme’s functions.php file, paste in the code below, and voila!
0
757
posted 13 years ago by xavsio4
By putting the following code in your theme’s functions.php file, you create two extra sizes:
0
653
posted 13 years ago by xavsio4