Reuben
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress Mailing List??Forum: Fixing WordPress
In reply to: An impossible challenge?PS I would be happy to throw a fair bit of coin to anyone that can help.
Forum: Fixing WordPress
In reply to: Blogger2WordPress not workingForum: Fixing WordPress
In reply to: External WordPresswordpress.com and www.ads-software.com are different. For more info read https://weblogs.about.com/od/choosingabloghost/p/WordpressOvrvw.htm
Forum: Fixing WordPress
In reply to: Pass Custom Field Into XML Array? Possible?So i want to replace “cheap dvd player” with my custom field “customfieldA”.
<?php $custom = get_post_meta($post->ID, "customfieldA",true); $categories[] = array( 'name' => 'DVD Player', 'search_options' => array( 'keywords' => $custom ) ); ?>
Forum: Fixing WordPress
In reply to: Increasing number of posts in my loop…Forum: Fixing WordPress
In reply to: Display file sizeMaybe you are using URL’s for filesize parameter…..or the filesize could be greater than 2GB/4GB
Ref: https://php.net/manual/en/function.filesize.phpForum: Fixing WordPress
In reply to: my wordpress is with apload with "size blocked"After changing php.ini, did you restart apache?
Forum: Fixing WordPress
In reply to: the_post() returns pages and autosaves with PHP 5.3Disable all plugins and see if it has changed
Forum: Themes and Templates
In reply to: unique sidebar help@24love
here’s some example code to use in single.php….<?php get_sidebar( 'blog' ); //to include for all posts...sidebar file name should sidebar-blog.php ?>
or
<?php if( is_single('post-slug') ){ get_sidebar( 'unique' ); //to include for a particular post, and the sidebar file name should be sidebar-unique.php }else{ get_sidebar( 'blog' ); // for the rest of the posts....sidebar filename should be sidebar-blog.php } ?>
ref:
- https://codex.www.ads-software.com/Function_Reference/is_single
- https://codex.www.ads-software.com/Function_Reference/get_sidebar
I suggest you take more lessons/tutorials for developing themes.
Forum: Fixing WordPress
In reply to: How to get comments thread onto main pageForum: Fixing WordPress
In reply to: the_post() returns pages and autosaves with PHP 5.3Are you using custom queries? if yes? the code?
Forum: Fixing WordPress
In reply to: Using CSS styles inside PHPWhere do you get the cat-tem class from?
It is generated by
wp_list_categories
, for more info check wp_list_categoriesForum: Fixing WordPress
In reply to: Links to PDF filesForum: Fixing WordPress
In reply to: Using CSS styles inside PHPOk try this
in sidebar, add this code
<ul class="my_cats"> <?php wp_list_categories("title_li="); ?> </ul>
now add this css
.my_cats{ list-style-type: none; } .my_cats li.cat-tem{ color: #ff0000; /* The number color */ font-size: 12px; /* A different font-size for number */ } .my_cats li.cat-item a{ color: #00ff00; /* the link color */ font-size: 14px; /* Font size for the link */ }
Its just basic CSS…