Marcomail
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can i add this code on functions.php ?Thanks, but why if i use this code when i put a comment it appear under the last related posts published and not in the correct page ?
Forum: Fixing WordPress
In reply to: category_description return <p> tagThanks, but why
echo category_description()return
<p>tag ?Forum: Fixing WordPress
In reply to: category_description return <p> tagBut i’m using category description in meta description, so i’m not interested show the
<p>tag 🙁Forum: Fixing WordPress
In reply to: Space for textcss issue ? I’m using a simple <p> element for text
i want have space like using
<br />Forum: Plugins
In reply to: Someone can correct this code for running with wp 2.7 ?Ok, i’ve solved, this is the correct code if someone it’s interested to merge link to the correct category:
if ($category != all) { $cats = "AND'$wpdb->term_relationships'.term_taxonomy_id = $category"; } $results = $wpdb->get_results(" SELECT DISTINCT link_url, link_name, link_image, link_description, link_rss FROM '$wpdb->links' LEFT JOIN '$wpdb->term_relationships' ON ('$wpdb->links'.link_id = '$wpdb->term_relationships'.object_id) WHERE link_visible = 'Y' $cats ORDER BY '$wpdb->links'.link_$order $sort $limit");Forum: Plugins
In reply to: [Plugin: WP Post Thumbnail] Don’t find images in media libraryI’ve tried to upload images directly from the post, and not from the general media library page, and now it works…but is it normal ? And why the image to cropped have a bed resolution ? Thanks
Forum: Fixing WordPress
In reply to: where i install the new wordpress version ?no, i don’t remember exactly but i have a version that don’t exist an update, the 2.0.4. So i should reinstall wordpress, and i ‘d test it online
Forum: Plugins
In reply to: nextgen-gallery.. Commentsyes, i read some days ago different some trick to permit comments on single image….but for me if you have a lot of images and a lot of traffic the server load is very high with a single page for every image
Forum: Fixing WordPress
In reply to: Specific pages for category listingthanks, but is possible have a different category template for category parent and category child ?
Forum: Plugins
In reply to: [Plugin: CBI Referral Manager] Suggestioni have a similar script for the last 24 hours IN, and use a table for this temp classified, and another table for the archive…every 10 minutes the script archive all the votes old more than 24 hours from the temp table to the archive table.
so if you make temp table + archive table you have the total vote.
have you understand ? Sorry but my english is terrible :))
it’s very quickly beacuse it count all the IN of the temp table and mustn’t check the time of the IN everytime
Forum: Plugins
In reply to: plugin needed for voting list items up and downi think it’s a custom plugin, i never seen something similar
Forum: Fixing WordPress
In reply to: get_the_category of only one categoryany help ?
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Great Ideai think it’s better upload thumb in your server and maybe the bigger to flickr
Forum: Fixing WordPress
In reply to: Select name of categorysomeone ?
Forum: Fixing WordPress
In reply to: Select name of categoryok, i’ve solved with this code
$in_subcategory = false; foreach( (array) get_term_children( 86, 'category' ) as $child_category ) { if(in_category($child_category))$in_subcategory = true; } if ($in_subcategory):but why if i use this code in header.php if i use
if ($in_subcategory):in single.php it doesn’t work ?