Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged theme



« Prev 1 2
  1. FAV

    Magento Theme Switcher Extension

    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...
    PHP 4 views posted 5 years ago by magestore
  2. FAV

    Wordpress: Custom Widget Area

    A custom widget area for wordpress.
    PHP saved by 2 people 7 views posted 5 years ago by JamesAbels
  3. FAV

    Intergrating the wordpress media uploader into your plugin

    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...
    PHP 11 views posted 7 years ago by FatFolderDesigner
  4. FAV

    iLoveIt Wordpress Theme FB photo contest page template

    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...
    PHP 7 views posted 7 years ago by SmashArtist
  5. FAV

    Paginate WordPress Posts

    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...
    PHP 3 views posted 7 years ago by thewickedchemist
  6. FAV

    wordpress default menu code

    default theme perfect menu
    PHP 10 views posted 7 years ago by webtechdev
  7. FAV

    Headway Theme - remove default css

    For use with Headway Child Themes.
    PHP 5 views posted 8 years ago by codepunk
  8. FAV

    Headway Child Themes - disable design editor

    Disables the design editor in the VE when using a child theme.
    PHP 1 views posted 8 years ago by codepunk
  9. FAV

    Headway Theme footer function

    Add stuff to the footer block.
    PHP 3 views posted 8 years ago by codepunk
  10. FAV

    Current theme link for wordpress theme

    Link to the current theme / template url for use in wordpress template.
    PHP 2 views posted 8 years ago by carouselcreative
  11. FAV

    How to Easily Disable Theme Changing

    PHP 1 views posted 8 years ago by florent
  12. FAV

    Wordpress Theme Options Page

    This creates a theme options page for a wordpress theme.
    PHP 8 views posted 8 years ago by ddavidd
  13. FAV

    Get WordPress theme menu name in slug format from location parameter

    Example call: $menuName = sleek_get_theme_menu_name('footer-menu')
    PHP 3 views posted 8 years ago by Huskie
  14. FAV

    WordPress functions.php Boilerplate

    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.
    PHP 9 views posted 8 years ago by ethicka
  15. FAV

    My Theme Optons Page

    The Logo settings start on line 110 of the commented version.
    PHP 2 views posted 8 years ago by jeremyjared74
  16. FAV

    Easily disable theme changing

    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.
    PHP 1 views posted 8 years ago by jamiebrwr
  17. FAV

    Tags zu Artikel ausgeben - Wordpress

    PHP 1 views posted 8 years ago by kopfaction
  18. FAV

    Wordpress: Login form for your themes

    Add a login form to your wordpress themes frontend.
    PHP 5 views posted 8 years ago by prwhitehead
  19. FAV

    Drupal Theming RSS Feed Views

    This will build over time, and first be finish when I have all ressources and are satisfied with our corporate rss feed.
    PHP 0 views posted 8 years ago by kfiil
  20. FAV

    Drupal: Insert Block in region in code

    How to set a block into region with code
    PHP 1 views posted 8 years ago by kfiil
  21. FAV

    Drupal: phptemplate_preprocess

    Implementation of phptemplate_preprocess. Enables that preprocess functions are in different files
    PHP 1 views posted 8 years ago by kfiil
  22. FAV

    Wordpress Get Theme Url

    PHP 1 views posted 8 years ago by janvdm
  23. FAV

    Drupal: force the administration theme on additional non-admin paths

    **Important: this snipplet has moved to Github.** - [Force the admin theme on additional non-admin paths in Drupal 6](https://gist.github.com/1973090)
    PHP saved by 9 people 7 views posted 9 years ago by wildpeaks
  24. FAV

    Using Custom Menus in WordPress using PHP

    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.
    PHP 2 views posted 9 years ago by johnnyrokkit
  25. FAV

    Drupal embedding View in theme

    PHP saved by 2 people 0 views posted 9 years ago by hamsterbacke82
  26. FAV

    Add excerpts to pages

    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.)
    PHP 0 views posted 9 years ago by hussong
  27. FAV

    Drupal 6 - Show default "Who's online" block from a template.

    Embed the "Who's online" block from within a template file.
    PHP saved by 3 people 1 views posted 9 years ago by daipratt
  28. FAV

    WordPress after_setup_theme Action & Function

    This may be necessary to properly add theme support for multiple menus.
    PHP 2 views posted 9 years ago by Jamie
  29. FAV

    get custom fields value in wordpress theme

    get custom fields value in wordpress theme
    PHP saved by 2 people 1 views posted 9 years ago by maximaker
  30. FAV

    thematic theme - customize Footer

    PHP saved by 2 people 2 views posted 9 years ago by screamwork
« Prev 1 2