Aaron Ware
Forum Replies Created
-
Saw that you had the map defined within your closure. Ended up for the time being just adding in a global var for now. It’d be great to either get a reference to the map instead of me making a global. I guess throw that in the feature request bin. Again kudos on the plugin
Not problem Brian, Glad it helped you out.
Forum: Plugins
In reply to: [WP Supersized] [Plugin: WP Supersized] Errors After UpdatingYeah the array merge still throws an error. I made a quick gist if you want to replace the contents of WPSupersized.php https://gist.github.com/2367441
As a quick fix I explicitly set each element in the array_merge as an (array).
$dirArray = array_merge((array) glob($dir."*.jpg"), (array) glob($dir."*.JPG"), (array) glob($dir."*.png"),(array)glob($dir."*.PNG"),(array)glob($dir."*.gif"), (array)glob($dir."*.GIF"), (array)glob($dir."*.jpeg"), (array)glob($dir."*.JPEG"));Then I just make sure the path isn’t an empty string in the for loop that creates the image objects
for($index=0; $index < $indexCount-1; $index++) { if($dirArray[$index]) {@benoit I also look for the last element that you have outside the your loop and do the same check.
hope that helps.
Forum: Plugins
In reply to: [WP Supersized] [Plugin: WP Supersized] SupersizedDir Custom FieldThere is a separate get_template_directory() if you want to check for parent/child themes. The get_stylesheet_directory() will get the current theme location. Where get_template_directory() will get the parent. Additionally usingg WP_CONTENT_DIR global is frowned upon. http://codex.wordpress.org/Determining_Plugin_and_Content_Directories
Great plugin btw. I ment to say that before.
User are not getting a js error from conflicts. They’re getting thrown a bunch of 500 errors which in turn are throwing a bunch of javascript errors; at least that’s what I’ve seen on 2 different setups. One on Rackspace and one on MediaTemple. I can revert and put up a screenshot for you. I didn’t dig into the htaccess file too deeply.
Forum: Fixing WordPress
In reply to: Content Not ShowingHmm Methods in the theme possibly I looked at a few other pages and they didn’t render very well. Also seemed to get a different result based on the page. If it’s not a plugin. It’s the theme.
Tough because you didn’t build the theme. So harder to debug. See if the functions.php is possibly using a deprecated way of referencing or including a file. My first guess is that they were trying to use something even older than get_bloginfo() that has finally been removed from core.
http://www.navislearning.com/professional-services/performance-and-productivity-coaching/
Forum: Fixing WordPress
In reply to: Content Not ShowingHmm What plugins are you using? The errors don’t look like they are from core methods
Forum: Plugins
In reply to: [Plugin: Linchpin – PrevNextPage] only works with defaultsHappened to do a search and came across your issue. Sorry it’s so late getting back to you. I’ll take a look at this even though you’ve probably moved on.
One thing to note it’s
previous_page_link();I wasn’t sure if that was just a typo or not. Regardless I’ll give it a test with Thesis.Forum: Plugins
In reply to: Custom Post Type Taxonomy Issuealso keep in mind that you can do multiple post types
<?php query_posts( array( 'post_type' => array('post', 'your-post-type-1', 'your-post-type-2', 'your-post-type-3' ) ) ); ?>Forum: Plugins
In reply to: Custom Post Type Taxonomy IssueI don’t think custom post types are shown by default. I think you have to define them before your query
Something like.
<?php query_posts( array('post_type', => 'your-post-type') ); ?>before your loopForum: Plugins
In reply to: [Contact Form DB] Query utilizing wpdb->get_results() instead of mysql query?Hey Michael, noticed that when I tried to hide “submit_time” or “Submit Time” the column always showed for me. Also I have a plugin that utilizes your plugin that we are testing internally in our shop. Wanted to know if you wanted to take a look at it before I release it. I have a few things I need to do to it before it’s ready for primetime.
I figured that because I am relying on your plugin so heavily for my plugin; I’d see if you wanted to take a look at it. Just lemme know and I can share a dropbox with you or email whatever.
Hey John,
Sorry I didn’t reply sooner. I didn’t see this message til now. I would have though wordpress would have notified me automatically.
You could potentially put `<?php next_page_link(); ?>
<?php previous_page_link(); ?>` in any page template even the index.php of your theme.The shortcodes
[next_page_link]themselves would only really be utilized within the “content area / the editor” of page/post but if you were making a page template. As long as you actually have “Pages” within your site (Not to be confused with posts) it should work.Based on it being a couple of weeks. I’m not sure if you said to hell with it and ditched the functionality. But regardless I’d like to help you out. if you could paste a snippet of your php so I can see it used in context. Also again be sure you have pages set up. Could be a bug in the code that I didn’t come across as well.
Forum: Plugins
In reply to: [Contact Form DB] Query utilizing wpdb->get_results() instead of mysql query?Oh also I just (int) instead of float in the comparison parser you had going on. It seemed to do the trick in my initial testing.
Forum: Plugins
In reply to: [Contact Form DB] Query utilizing wpdb->get_results() instead of mysql query?Nice I actually just adjusted your code slightly just to get my lil plugin out the door. But that’s great. Once you push an update out I’ll grab it and see how it goes.