Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged theme



« Prev 1 2
Theme Switcher is a free Magento Extension that lets store owner display different themes based upon customer's devices <p>_ Auto-switch store layout based on access devices</p> <p>_ Manage themes in back-end</p> <p>_ Support computer, mobile, tab...
0 2024 posted 11 years ago by magestore
A custom widget area for wordpress.
1 1671 posted 11 years ago by JamesAbels
It's a 3 part process, first is the PHP that you need to run, which includes the appropriate scripts and styles into the admin header, then you need an html button and input field to put the stored value in, then you need some jQuery to open the popu...
0 1808 posted 13 years ago by FatFolderDesigner
This creates a custom page template designed to run a Facebook photo contest utilizing the Facebook like button and uses Wordpress featured images for each post in a grid. This setup requires the following: - iLoveIt Wordpress Theme - Creat...
0 1677 posted 13 years ago by SmashArtist
Place the function in your functions.php file of your theme... Then, simply call like this: wp_paginate('', 3); The first param is optional, the second dictates how many pages before and after the current page link will show...
0 1428 posted 13 years ago by thewickedchemist
default theme perfect menu
0 1485 posted 14 years ago by webtechdev
For use with Headway Child Themes.
0 1373 posted 14 years ago by codepunk
Disables the design editor in the VE when using a child theme.
0 1341 posted 14 years ago by codepunk
Add stuff to the footer block.
0 1513 posted 14 years ago by codepunk
Link to the current theme / template url for use in wordpress template.
0 1691 posted 14 years ago by carouselcreative
This creates a theme options page for a wordpress theme.
0 1555 posted 14 years ago by ddavidd
Example call: $menuName = sleek_get_theme_menu_name('footer-menu')
0 2207 posted 14 years ago by Huskie
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 1424 posted 14 years ago by ethicka
The Logo settings start on line 110 of the commented version.
0 1489 posted 14 years ago by jeremyjared74
When creating a WordPress based website for a client, you may need to make sure that he can’t switch themes. This is what I’m going to show you in today’s recipe.
0 1600 posted 14 years ago by jamiebrwr
Add a login form to your wordpress themes frontend.
0 1912 posted 15 years ago by prwhitehead
This will build over time, and first be finish when I have all ressources and are satisfied with our corporate rss feed.
0 1501 posted 15 years ago by kfiil
How to set a block into region with code
0 1615 posted 15 years ago by kfiil
Implementation of phptemplate_preprocess. Enables that preprocess functions are in different files
0 1573 posted 15 years ago by kfiil
0 1601 posted 15 years ago by janvdm
**Important: this snipplet has moved to Github.** - [Force the admin theme on additional non-admin paths in Drupal 6](https://gist.github.com/1973090)
3 1766 posted 15 years ago by wildpeaks
How to enable Custom Navigation Menus in WordPress 3.0 Like the custom background, header image, and post thumbnails, the custom navigation menus also needs to be enabled through your theme’s functions.php file.
0 1707 posted 15 years ago by johnnyrokkit
1 1626 posted 15 years ago by hamsterbacke82
Adds support for excerpts in WordPress pages. Great for using WordPress as a CMS. A text field appears in the admin panel and you can pull the excerpt from your template files (for teaser texts etc.)
0 1490 posted 15 years ago by hussong
Embed the "Who's online" block from within a template file.
1 1925 posted 15 years ago by daipratt
This may be necessary to properly add theme support for multiple menus.
0 1633 posted 15 years ago by Jamie
get custom fields value in wordpress theme
1 1867 posted 15 years ago by maximaker
1 1385 posted 15 years ago by screamwork
add home link
1 1493 posted 15 years ago by screamwork
« Prev 1 2