Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 11 12 13 14 15 ... 47
0 4566 posted 14 years ago by zvineyard
Simple function - just place it in your theme's functions.php file, save, and you're good to go. If an image in your content is missing the alt tag, it adds that posts title as the alt tag for the image. It's been recommended to me that I shouldn'...
0 2702 posted 14 years ago by RainyDayMedia
Add to bottom of your theme's functions.php file
0 1542 posted 14 years ago by RainyDayMedia
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 1637 posted 14 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 1841 posted 14 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 1771 posted 14 years ago by RainyDayMedia
Add to bottom of your theme's functions.php file
0 1495 posted 14 years ago by RainyDayMedia
Removing the generator tag for security purposes... add to the bottom of your theme's functions.php file
0 1569 posted 14 years ago by RainyDayMedia
Add to the bottom of the your theme's function.php file. Change to your site's name
0 2065 posted 14 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 2079 posted 14 years ago by RainyDayMedia
add this in functions.php
0 2887 posted 14 years ago by IronMANro
Paste this code at the top of your .php file. You can choose this new site template when creating a new wordress site.
0 935 posted 14 years ago by rofthedeep
<?php> will random load images named (in this example) image_1.jpg up to image_5.jpg
0 2821 posted 14 years ago by DeluxiveState
This small snippet can be used to get the children and grand children of a Wordpress page. See the comments for how it works
0 2527 posted 14 years ago by jvandemerwe
Using the ID of a page, you can get the content, the featured image and the title to power widgets in your template.
0 1686 posted 14 years ago by mejamiewilson
0 1452 posted 14 years ago by distribuida
Example call: $menuName = sleek_get_theme_menu_name('footer-menu')
0 2442 posted 14 years ago by Huskie
No modifications or testing carried out yet.
0 2516 posted 14 years ago by Huskie
Could possibly be simplified to maximise efficiency. It relies on a separare WP Sleek framework function sleek_get_theme_menu_name. This could ideally be improved to allow the theme location to passed as a parameter somehow.
0 2516 posted 14 years ago by Huskie
use in template <?php> sau <?php>
0 1479 posted 14 years ago by IronMANro
0 1266 posted 14 years ago by distribuida
0 1449 posted 14 years ago by distribuida
This needs to be used with the code that gets output using the quick highlighter. Follow these steps to use with WordPress: First copy your php code Go to http://quickhighlighter.com/ Paste your code into the textarea Click Highli...
0 1777 posted 14 years ago by jeremyjared74
I use this to toss all the junk from the header, add a favicon, remove useless admin elements, and block WordPress' ancient jQuery file from embedding.
0 1635 posted 14 years ago by ethicka
1 ... 11 12 13 14 15 ... 47