Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Once we login and are in the backend of WordPress, there is another small logo of WordPress displayed on top. It’s small but if you wish to change it, then add below code to the same functions.php file we created in above step.
0
1812
posted 15 years ago by jamiebrwr
When a client wants to access the WordPress admin, the first thing they will notice is the login page with a WordPress logo. Wouldn’t it be better if this page had the logo of your client’s company or maybe yours? There are many simpler ways to d...
0
2004
posted 15 years ago by jamiebrwr
Change the small logo at the top of the dashboard: Just add to the bottom of your theme's functions.php file
0
1973
posted 15 years ago by RainyDayMedia
Developing a form where I had several date and time fields, I came with a jQuery multiselector where I need to get, through the name attribute, if it was a date or time field. So far, jQuery does not have a boolean method to check if an attribute of...
0
2082
posted 15 years ago by betacar
A custom class for formatting dates, similar to PHP bult-in function "date". The class also has some other date utils functions, like: dayOfYear, numberOfDaysInMonth, etc..
1
2911
posted 15 years ago by TimoZachi
Removing the generator tag for security purposes... add to the bottom of your theme's functions.php file
0
1722
posted 15 years ago by RainyDayMedia
Add to the bottom of the your theme's function.php file. Change to your site's name
0
2266
posted 15 years ago by RainyDayMedia
For those of use who use Wordpress as a CMS, this gives you the option of hiding all your dashboard widgets, for all users.
<br>**Open your theme’s functions.php file located in your theme’s folder. Copy this script, paste it at the bottom of y...
0
2274
posted 15 years ago by RainyDayMedia
You just need to configure the width, columns, and gutter
3
4064
posted 15 years ago by firewalker06
As Google+ API was just released a couple days ago, it is time to have a posts widget for it. So, this widget was created to display your Google+ profile and slides down your recent posts with any attached images.
0
1706
posted 15 years ago by mikemore
Get all page names and ids from the DB of pages with content containing '#'
0
1872
posted 15 years ago by nielsenrc
Will produce output like this:
<html>
...
</html>
<html>
...
</html>
Target in CSS like this:
html[data-useragent*='Chrome/13.0'] .nav {background:url(img/radial_grad.png) center bottom no-repeat;}
or
html[data-useragent*=...
0
3481
posted 15 years ago by reverend
Paste this code at the top of your .php file. You can choose this new site template when creating a new wordress site.
0
1054
posted 15 years ago by rofthedeep