rulethenation
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Popular Posts] How to show "all-time views" on every setting?What i want is to show the posts from the 24 hour range but the views to show all-time, instead of the last 24 hours
Forum: Plugins
In reply to: [WordPress Popular Posts] Thumbnails dont work after moving site to new hostworked perfectly, thank you
Forum: Plugins
In reply to: Custom Meta Boxes Not Displaying Data After Publishanybody?
Forum: Fixing WordPress
In reply to: Image uploading not working with 3.5i found a solution at
https://www.skyebook.net/blog/2012/12/wpdbprepare-warning-in-wordpress-3-5/this is an example he used
<?php // Old (single argument) function call global $wpdb; $authorIDs = $wpdb->get_col($wpdb->prepare("SELECT post_author FROM " . $wpdb->posts . " WHERE ID = " . intval($postID) . " LIMIT 1"); // New (two argument) function call global $wpdb; $authorIDs = $wpdb->get_col($wpdb->prepare("SELECT post_author FROM " . $wpdb->posts . " WHERE ID = " . intval($postID) . " LIMIT 1", array())); ?>
Forum: Fixing WordPress
In reply to: Image uploading not working with 3.5i deactivated everything it was still there, when i changed my theme it worked
Forum: Fixing WordPress
In reply to: Image uploading not working with 3.5its my theme.. so im assuming its line 151 thats the problem
Forum: Fixing WordPress
In reply to: Images not uploading Errorline 154 is
$widgetized_pages = $wpdb->get_col($wpdb->prepare(“SELECT DISTINCT meta_value FROM $wpdb->postmeta WHERE meta_key = ‘omc_page_sidebar'”));
Forum: Fixing WordPress
In reply to: Images not uploading Errori cant upload anything either, i tried in the media section and i get this error
Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/70/6550770/html/wp-content/themes/gonzo/includes/widget_areas.php on line 154 and defined in /home/content/70/6550770/html/wp-includes/wp-db.php on line 990
Warning: Cannot modify header information – headers already sent by (output started at /home/content/70/6550770/html/wp-includes/wp-db.php:990) in /home/content/70/6550770/html/wp-admin/async-upload.php on line 32
21190Forum: Fixing WordPress
In reply to: Removing html from Post titlesif i change the_title to the_title_attribute on my single page, will facebook still take the_title?
Forum: Fixing WordPress
In reply to: Removing html from Post titlesis there anyway i can put a piece of code in my functions.php to make the_title_attribute() used globally ? or for the_title to be stripped there?
Forum: Fixing WordPress
In reply to: Need help with a code for a different logo for each categoryBeautiful. Thank you sir.
Forum: Fixing WordPress
In reply to: Need help with a code for a different logo for each categoryIm aiming for single posts and category pages, if you rollover your mouse over my menu, each category is a different color and each post under that category has that same color scheme, so im trying to make the logo match that
i also tried taking out the quotes and it didnt work, ill have to try the CSS option when I have time,
these are the archive page, and the a page in that category that should have a green logo, however my code so far has no worked
https://dopefuse.com/exclusive/
&
https://dopefuse.com/5-winter-albums-of-2012-you-want-to-look-out-for/