josh-jones
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP Super Cache] How to check if “ON” mode is being usedThanks. I don’t think I’ll clear it without first asking their permission, but I see now how I can achieve it.
Forum: Plugins
In reply to: [Plugin: WP Super Cache] How to check if “ON” mode is being used‘ello?
Forum: Plugins
In reply to: [Plugin: SexyBookmarks] latest update problemsForum: Plugins
In reply to: [Plugin: SexyBookmarks] Most popular only sprite?Check out v3.2 of the plugin… It includes a “Dynamic Sprite Generator” feature that we’ve been working on for quite a while now…
This issue wasn’t really a problem in the beginning, as there weren’t but maybe 15 sites supported… However, now that we support nearly 100 sites the need for something like this is long overdue.
Forum: Plugins
In reply to: [Plugin: SexyBookmarks] why the bad twitter icon?This will be fixed in the next release, so stay tuned!
Forum: Fixing WordPress
In reply to: wp_enqueue_script() using WP version number?Nevermind, I think it’s a plugin conflict of some sort… I just tested it on a test blog with NO other plugins activated, and it works perfectly as it should.
Thanks for looking into it though!
Forum: Fixing WordPress
In reply to: wp_enqueue_script() using WP version number?Sure thing…
Here’s where I define the constant in the main plugin file:
// Define a couple of constants define('SEXY_OPTIONS','SexyBookmarks'); define('SEXY_vNum','3.1');
And here is where I use wp_enque_script() and wp_enqueue_style() in the public.php file which handles everything seen on the front end:
// Write the <head> code only on pages that the menu is set to display function sexy_publicStyles() { global $sexy_plugopts, $post, $sexy_custom_sprite; // If custom field is set, do not display sexybookmarks if(get_post_meta($post->ID, 'Hide SexyBookmarks')) { echo "\n\n".'<!-- '.__('SexyBookmarks has been disabled on this page', 'sexybookmarks').' -->'."\n\n"; } else { //custom mods rule over custom css $surl = (!is_null($sexy_custom_sprite)) ? $sexy_custom_sprite : SEXY_PLUGPATH.'css/style.css'; // If custom css, generated by sprite $surl = ($sexy_plugopts['custom-mods'] == 'yes') ? WP_CONTENT_URL.'/sexy-mods/css/style.css' : $surl; // If custom mods option is selected, pull files from new location wp_enqueue_style('sexy-bookmarks', $surl, false, SEXY_vNum, 'all'); } } function sexy_publicScripts() { global $sexy_plugopts, $post; if (($sexy_plugopts['expand'] || $sexy_plugopts['autocenter'] || $sexy_plugopts['targetopt']=='_blank') && !get_post_meta($post->ID, 'Hide SexyBookmarks')) { // If any javascript dependent options are selected, load the scripts $surl = ($sexy_plugopts['custom-mods'] == 'yes') ? WP_CONTENT_URL.'/sexy-mods/' : SEXY_PLUGPATH; // If custom mods option is selected, pull files from new location $jquery = ($sexy_plugopts['doNotIncludeJQuery'] != '1') ? array('jquery') : array(); // If jQuery compatibility fix is not selected, go ahead and load jQuery $infooter = ($sexy_plugopts['scriptInFooter'] == '1') ? true : false; wp_enqueue_script('sexy-bookmarks-public-js', $surl.'js/sexy-bookmarks-public.js', $jquery, SEXY_vNum, $infooter); } } add_action('wp_print_styles', 'sexy_publicStyles'); add_action('wp_print_scripts', 'sexy_publicScripts'); add_filter('the_content', 'sexy_position_menu');
Forum: Fixing WordPress
In reply to: Home Page Question: How to place an image alongside an excerpt?Sorry I wasn’t around to answer your latest questions… I’ve been pretty swamped with support requests for my plugin lately.
I’m glad to see you got it figured out!
Forum: Plugins
In reply to: [Plugin: SexyBookmarks] Latest v 3.0 trigger fatal errorI would suggest talking to the owners of “WP AutoUpdate” because I’ve already updated the “stable tag” for SexyBookmarks to reflect the older version in order to prevent any further problems until we can get this latest release bug free…
It would appear that they’re not checking the stable tag of a plugin to see if there are updates available. They are most likely using a version comparison and comparing which version number is larger.
Forum: Plugins
In reply to: [Plugin: SexyBookmarks] Latest v 3.0 trigger fatal errorProblem fixed in v3.0.1
Forum: Plugins
In reply to: [Plugin: SexyBookmarks] Latest v 3.0 trigger fatal errorYea, actually I had made sure to put a check in for subdirectory installs… I’ll test it again to make sure… Give me a bit to figure it out… I’m kinda inundated with support requests from my goof this morning.
You may want to downgrade until I release a bug patch.
Sorry.
Forum: Plugins
In reply to: [Plugin: SexyBookmarks] Latest v 3.0 trigger fatal errorI’m sorry about that… Looks like I missed something in my rush to get the version released… I’ve updated the SVN, so please delete the copy you’re using now and redownload to fix the issue.
Again, sorry!
Forum: Fixing WordPress
In reply to: Can’t store excerpt as variable…Nevermind, I’m an idiot.
I was defining the variable outside the loop.
Forum: Fixing WordPress
In reply to: Spacing between imagesThis sounds like a problem for CSS…
Maybe try reading some of these:
https://www.w3schools.com/Css/default.asp
https://www.w3schools.com/Css/css_margin.asp
https://www.w3schools.com/Css/css_padding.aspForum: Fixing WordPress
In reply to: Home Page Question: How to place an image alongside an excerpt?Basically what it does is it will pull the first image that’s uploaded via the uploader in the write panel… Then it uses timthumb to resize/crop the image to your specifications.