johnsinn84
Forum Replies Created
-
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Custom theme being overriddenHi Sunny,
I believe I have followed the instructions properly, the custom theme has been created under /wp-content/themes-ai1ec/ and the override.css file is here …
http://netsketched.com/18031601/wp-content/themes-ai1ec/prolongyoga/css/override.css
…it seems that the file is now affecting the site properly; I imagine that it was a cache issue.
For the second point, however, I have made something a little more defining to help show what I mean; I removed the hover popup affect by altering the necessary twig file in my custom calendar theme.
In the following video, notice how, initially, the popup does not show when I hover, which is correct according to the code I implemented on the twig file.
But once I change the month, the popup shows while hovering. I even went back to the previous month to show that it is not a month-to-month affect. For whatever reason, once the script loads a different month, it completely disregards what I did with to the twig file.
https://drive.google.com/file/d/15FX_RCguw9W1YbfmCcOsvUD0CUur3jJ6/view?usp=sharing
- This reply was modified 8 years ago by johnsinn84.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Monthly view excerptThanks Sunny, where would I find the .js file that handles the popup?
Forum: Fixing WordPress
In reply to: WP_Query and PaginationConfusing, indeed. lol.
Thanks again for all of the help everyone!
Forum: Fixing WordPress
In reply to: WP_Query and PaginationWorks! Thank you so much! You’re officially awesome in my books. For future reference, may I ask where I went wrong in the coding?
Thank you very much for taking the time to try to help. I very much appreciate it.
Forum: Fixing WordPress
In reply to: WP_Query and PaginationJust the 2nd one. I only want the 4 most recent for the first loop.
Forum: Fixing WordPress
In reply to: WP_Query and PaginationSame result. Goes to page 2 fine and then “Not Found” after that.
Forum: Fixing WordPress
In reply to: WP_Query and PaginationThis is the main index template (index.php). Should I be doing this on a different template file?
Pastebin…
…I tried to clean it up so it’s easier to read. I put a lot of space before and after the portion in question.
Forum: Fixing WordPress
In reply to: WP_Query and Pagination@jay and @keesiemeijer
Neither variation worked – same result; anything after page 2 as “not found”
I should also point out that I have another wp_query on the page unless that effects it. I did add wp_reset_query() at the end though.
Thanks for the help, by the way.
Forum: Fixing WordPress
In reply to: WP_Query and PaginationAfter some searching, I altered the code to the following….
<?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $args = array( 'category__in' => array( 3 ), 'posts_per_page' => 3, 'paged' => $paged, 'order' => 'DESC', ); $wp_query->query($args); $max_page = $wp_query->max_num_pages; while ($wp_query->have_posts()): $wp_query->the_post(); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php video_thumbnail(); ?>" class="recvidimg" /></a> <?php endwhile; $big = 999999999; // need an unlikely integer echo paginate_links( array( 'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ), 'format' => '?paged=%#%', 'current' => max( 1, get_query_var('paged') ), 'total' => $max_page ) ); wp_reset_query(); ?>The pagination shows up and has the proper amount of pages. However, anything passed page 2 shows a “page not found”