Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 27 28 29 30 31 ... 47
Sale Price/Variation custom this code just work if all variation price is a same as product price
0 685 posted 14 years ago by haftim
Sale Price/Variation custom this code just work if all variation price is a same as product price
0 641 posted 14 years ago by haftim
You may want to create navigation where the children are displayed only when the parent page is the current page. Place the code in your functions.php file
0 937 posted 14 years ago by awesomewordpressthemes
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 1253 posted 14 years ago by johnnyrokkit
This will find the first image in post and return it as a thumbnail if it exists
0 1705 posted 14 years ago by howardpanton
This strips out any html tags (like paragraph tags) from the excerpt in WordPress.
0 1018 posted 14 years ago by nonsalant
put this code above the loop
0 805 posted 14 years ago by Token
From CSS-Tricks: Shortcodes in WordPress are bits of text you can use in the content area to invoke some kind of function to accomplish certain tasks. For example, video embedding in WP 2.9+ uses the [video] [/video] shortcode. You can write your own...
2 1452 posted 14 years ago by cwulff
0 1169 posted 14 years ago by YourListing
Count commetns and return value into the post
0 2657 posted 14 years ago by howardpanton
Can now use the class as a styler
0 3407 posted 14 years ago by chendrix
Wordpress creates an anchor with a class .post-edit-link for styling
0 906 posted 14 years ago by chendrix
This function will return the correct url for the timthumb php script (wordpress 3.0 or higher required!) Usage: just call the function in your theme with the post id as parameter, it will return a value so store this into a variable (must be ins...
0 1031 posted 14 years ago by krike
cause i'm so lazy
0 1104 posted 14 years ago by Savio
0 1146 posted 14 years ago by Savio
0 1015 posted 14 years ago by athanassiadis
Open your search.php file and find the the_title() function. Replace it with the following: 1.echo $title; Save the search.php file and open style.css. Append the following line to it: strong.search-excerpt { background: yellow; }
0 1087 posted 14 years ago by newsok
I need to create a new template that just show the photo ordered by «department» and «title». It should also include an hidden <DIV> with full name, email, social links and bio.
0 636 posted 14 years ago by ipublicis
A simple set of conditions to get dynamic title tags in a wordpress template.
0 997 posted 14 years ago by jhonqwerty
Execute this script to replace old links inside the content of Wordpress posts.
0 1030 posted 14 years ago by jhonqwerty
Edit widget or display current category in sidebar.php
1 1152 posted 14 years ago by lromak
Mostrar un link a una subcategoría, dependiendo de la categoría superior. category_parent es igual al id de la categoría superior. Sirve sólo cuando el post tiene una categoría hija de la categoría superior.
0 1162 posted 14 years ago by jhonqwerty
Always forget the correct way of putting this.
0 1029 posted 14 years ago by jhonqwerty
Change to line in page template file to call a different sidebar.
0 1152 posted 15 years ago by lromak
1 ... 27 28 29 30 31 ... 47