jbbaab44
Forum Replies Created
-
Forum: Plugins
In reply to: Custom archive template not showing paginationSorry the per_page is not set in the archive.php code above. it actually pulls the page number from the wordpress ‘reading’ settings.
Forum: Plugins
In reply to: Custom archive template not showing paginationI have enabled this in my archive-sale.php file
My custom post type is called ‘sale’ in my functions.php file, so that’s why you see ‘sale’ with everything below<?php remove_action('genesis_loop','genesis_do_loop'); add_action('genesis_loop','surefire_loop_helper'); function surefire_loop_helper() { $per_page = 3; $sale_args = array('post_type' => 'sale','posts_per_page' => $per_page,'paged' => get_query_var( "paged" )); $sale = new WP_Query( $sale_args ); ?> if ( have_posts() ) : //Create a standard wordpress loop while ( have_posts() ) : the_post(); the_title() the_post_thumbnail('medium') endwhile; //* IF you want NEXT Older next_posts_link( 'Older posts' ); previous_posts_link( 'Newer posts' ); //* IF YOU WANT NUMBERED genesis_posts_nav(); else : ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; } genesis();
this link helped me as well https://www.billerickson.net/code/pagination-in-a-custom-query/
Forum: Plugins
In reply to: [Genesis Columns Advanced] Compatible with Genesis 2.3.0?What infuriates me is that from what i remember the older framework had about 1700 lines of CSS code. Now the new framework only reduced that to 1500 and on top of that, i need their child theme, which includes 1,900 lines of extra CSS code? How is this an improvement? I’m with @danbashaw, i don’t use an “official” child theme
Forum: Plugins
In reply to: [Contextual Related Posts] Manually added posts not workingI had the same issue. clearing the cache fixed it.
Forum: Fixing WordPress
In reply to: Nav Bar Menu Static Placement & Hover Actions Messed UpI have the same problem after upgrading to 4.3 on all of my sites (about 20)
here is a screencast https://screencast.com/t/YZ6TgrioYNyyusing google chrome as well. have not tested elsewhere
Forum: Plugins
In reply to: [Theme My Login] Redirect to custom regisration pagei believe i have found the solution in your forums here
https://www.jfarthing.com/support/forums/topic/custom-registration/Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] file uploadcan i commission you to add this functionality?
I was looking into this issue as well. i used the functions.php to override the default columns/products per row. It’s strange that i have to manually add a CSS override when woocommerce has CSS ready for that. I did find that if you use a display shortcode in a page that it does apply the correect CSS.
[product_categories number="12" columns="3" parent="0"]
if i use the shortcode the html looks like this
<div class="woocommerce columns-2">...</div>
as opposed if i use the functions.php to override, it looks like this
<ul class="products">...</div>
I guess overall it’s no huge deal since you can just override the CSS in my childtheme.
ok. um. not sure what happened but the error is gone now. the only thing i did was disable the google authorship options, then re-enable and the error is gone. odd.
There is no caching.
I already stated in my first post that i had already upgraded to 2.2.6.1
I tried enabling, disabling, checking only certain types, checking all types. i still have the error.
Doesn’t look like this is limited to a few of us. https://www.google.com/search?q=%22expects+parameter+2+to+be+array%22+%22aioseop_class.php%22&oq=%22expects+parameter+2+to+be+array%22+%22aioseop_class.php%22&aqs=chrome..69i57j69i60.2976j0j7&sourceid=chrome&es_sm=122&ie=UTF-8&gws_rd=ssl
I have the same error
Warning: in_array() expects parameter 2 to be array, string given in /home/mysite/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop_class.php on line 1578
I have the latest versions of wordpress. the latest version of all in one seo (2.2.6.1)
i am using the responsive theme by cyberchimps, but tried using twenty-twelve theme and that had the same error.i disabled all plugins as well.