Search:
Search took 1.00 seconds.
-
A very popular wordpress plug in / widget that does just what you want.
http://wordpress.org/extend/plugins/php-code-widget/
-
Is there something specific in theme-heaser.php that you wish to change? There is a hook there...
Starts here...
// add the main header
function cp_header() {
?>
-
The changes you made in the classipress theme admin option panel should remain after you upgrade. If not, then that is a really bad theme!
-
Not tested, but try this...
//Add sold ribbon in child theme functions
function sold_ribbon() {
if ( get_post_meta($post->ID, 'cp_ad_sold', true) ) : ?>
<div class="sold-ribbon"></div>...
-
Sam, something else is causing the 500.
Try this:
In functions.php in your child root, add the remove action code.
Now, from your classipress original files, copy everything from:
...
-
Look at your code up above, first you are unhooking a function and then you need to create a new function and hook it in.
The function you are unhooking is cp_header,
function...
-
Since with the remove action you deleted everything between <header> and </header> now you have to add our own complete header code... So just write a complete header between the curly braces and you...
-
The API Hooks are places in the core code where you can "hook" into with an "action" or a "filter". Actions add code (and can also remove code) while Filters can be used to modify. I don't have my...
-
When I was shopping for a classifieds solution, the main reason I picked ClassiPress was because it supported Child Themes and more importantly for me, it supported Hooks and Filters and provides...
-
If you would like to add the red "sold" ribbon as well...
1.
in loop-ad_listing.php, directly underneath the featured ribbon and highlighting code that we just added, add:
<!-- Add sold...
-
This is what it would look like...
2499
2498
-
Thank you Samcy for posting this tutorial. I was looking for something along this line, your timing was perfect! This modification by Samcy does work okay, however, like everything, there is more...
-
Firebug is a plugin for Firefox browser that helps you write css customizations to this theme.
CSS customizations and modifications are not considered "support".
Personally I find the code very...