luckdragon
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Adding post author to date/comments lineview the source and see what class is being used there, then adjust the css properly.
if you aren’t sure, then you can use like google chrome’s “inspect element” option when you right click, and it will bring up a little console showing you what class is being used for that specific element
Forum: Plugins
In reply to: Product display plugin without shopping cartglad I could help 🙂
Forum: Fixing WordPress
In reply to: How do I change the font size in my tag cloud?there is no “Exactly” as long as it is in that file, anywhere between a <? and a ?> tag, then it should work properly 🙂
especially since every theme’s functions.php file is different.
Forum: Fixing WordPress
In reply to: insering database into a siteok, well, technically, you’ll still need a plugin of some sort, since their “widget” is just a search form really, you’ll still need something to know how to display the results and then where to go/what to show when they click on one of the results
Forum: Fixing WordPress
In reply to: wp_query (specific category & user)have you echoed $author_id to make sure that it’s returning the correct value?
and shouldn’t it be more like:
$author_spec = new WP_QUERY(array('cat' => 1, 'author' => $author_id, 'paged' => $paged));Forum: Fixing WordPress
In reply to: insering database into a siteare you trying to have each one of the “widgets” that they have on their site? or just 1 of them?
first off, if you tried every combination, then what probably happened is that all posts got flagged as “on” by default, set it to yes allow override and dialog disabled
then, edit your post/page there should be an option in there to allow you to disable the warning (or enable it as the case may be), if you don’t see it, remember to click the screen options pulldown and look there also
Forum: Fixing WordPress
In reply to: insering database into a siteyou would probably have to create your own widget to do so, or pay/ask someone to create it for you.
creating a widget to read a database table and display the data isn’t too difficult if you are familiar with php, however, if you want to be able to modify the database, then you might actually want to think about creating an entire plugin with a widget to give you not only the widget, but the admin abilities as well
Forum: Fixing WordPress
In reply to: How do I change the font size in my tag cloud?yep, just what alchymyth said 🙂
isn’t there an option in the main settings to allow override for individual posts? and also the setting for whether default for posts should be on or off?
Forum: Plugins
In reply to: Product display plugin without shopping cartthecartpress plugin allows you to disable the shopping cart and checkout so that the plugin can be used as a catalog
Forum: Fixing WordPress
In reply to: Adding post author to date/comments linein the theme, you’ll find a section that says “the_time” or “the_date”
in there, just add <?=the_author_link();?>
Forum: Fixing WordPress
In reply to: Plugins and themesI figured it out 🙂
Forum: Plugins
In reply to: Looking for a shopping cart plugin with an upload image featurewell, both thecartpress and wp ecommerce create a custom post type for products, and therefore use all the functionality of editing a post/page.. if that helps
Forum: Hacks
In reply to: an issue with a wordpress plugin calling external shortcodeswhat do you mean without having to go through the db? you’re already going through the db to get the values, you can create 1 image with all 5 stars turned off, and one with all 5 turned on, overlay 2 divs, and just make the “on” div be the width needed for the set # of stars.
i.e. if the $overall_value is 4.2 and the overall image width is 100 wide, you create a div that’s 150 wide with the blank stars background, and inside it, create a div that’s ceil($overall_image_width/($overall_value/100)) (aka 150/(42/100) or 150/.42 giving you a width for the 2nd div of 42
so, it shows 150 pixel blank star image and over top of that, shows 42 percent of a 150 pixel wide filled star image.
so, something like:
<? $image_width = 150; $star_width = ceil($image_width/($overall_value/100)); ?> <div style="position:relative;width:<?=$image_width?>px;background-color:blue"> <div style="position:absolute;top:0px;left:0px;width:<?=$star_width?>px;background-color:red;overflow:hidden">Â </div> Â </div>granted, that code uses background colors rather than images, but the concept is the same