glennyboy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress show next 3 x number adjacent custom posts from existingHi Cindy
I’m currently trying jkovis code above. There is no offset set in the Query.
Thanks
GlennyboyForum: Fixing WordPress
In reply to: WordPress show next 3 x number adjacent custom posts from existingAh, unfortunately that doesn’t work jkovis…
I am ordering by ‘menu_order’ but even by ‘date it only works for the first 3/4 posts for some reason. If I click on post 3 it hides post 3 and shows 1, 2, 4, but should show 4, 5, 6. If I click on 4 or past 4 then it always shows 1, 2, 3.
I should say that if I can get this to show the ‘next’ 3 posts in order then I don’t need to hide the current post by id as that wouldn’t show anyway, but of course that would be easy if we can get the above working correctly….
Forum: Fixing WordPress
In reply to: WordPress show next 3 x number adjacent custom posts from existingreplaced line for post_type with:-
get_post_type($post->ID)
Need to test to confirm, but I think that works!
Forum: Fixing WordPress
In reply to: WordPress show next 3 x number adjacent custom posts from existingThanks for this. Right now it seems to be querying ‘posts’ and not my current custom post type though?
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Add Repeater to TemplateGreat that worked, but regretably I din’t solve my issue. I need to add a variable to the loop:-
$slideNumber = 1;
so this works:-
<?php
$slideNumber = 1;
while ( $loop->have_posts() ) : $loop->the_post(); ?>– is that possible?
Thanks
GlennyboyForum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Add Repeater to TemplateHi
That’s the problem nothing is happening as the short code is not outputting as a short code echo via code like the above. Nothing displays so there’s nothing I can show you.
It works fine as just a short code within WordPress editor etc, but I need it to run directly in a template file and that’s why I’m asking if there is any way to embed the Ajax repeater directly via php?
Thanks
GlennyboyForum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Add Repeater to TemplateHi
I want to add an Ajax Load More Repeater Template directly into a template. currently it seems the only way the repeater can be added is via the short code, rather than php?For example the following does not work:-
<?php echo do_shortcode(“[ajax_load_more repeater=”repeater3″ post_type=”my_cpt” max_pages=”none” posts_per_page=”9″ button_label=”More” transition=”fade”]”); ?>
It doesn’t output / responds with a php error.
Thanks
GlennyboyForum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Call jQuery Once Ajax CompletesThat is correct. The jQuery currently can’t fire as the Ajax loads after the document is ready..
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Results Template for Specific FormThanks, could do this, but I’m looking for a range of different search results pages and given the above it seems there can be only 1 template for all results?
Hi
They certainly don’t appear by default, but the above is a solution of sorts.
Just to let you know the Theme I was using is Pagelines DMS – just in case others are experiencing the same or if anyone can spread any light on it.
Regards
Glennyboy
Hi
I tried applying to Twenty Fourteen and earlier base Themes bury I don’t think this plugin supports them (or vice versa)?
Anyway on delving a bit deeper into the Widget settings I noted that you can specify title tags under ‘Edit’ in an existing Widget. I added:-
<h3 class="widget-title"> </h3>
in the respective before and after and this replaced the missing elements. I’m not sure if this is required and I stupidly missed it, but perhaps consider using the default widget title values automatically unless something else is specified?
Thanks
Glennyboy
Hi
Yes that’s what I mean. I’m not getting any widget titles outputted correctly. This is an example:-
<div id="brpwp_wrapper-2"> Latest from the Newsroom <ul class="no-bullets"> <li id="brpwp_140" class="post-140 post type-post status-publish format-standard hentry category-news"> ..... </li> </ul> </div>
You will see that the title ” Latest from the Newsroom” has not styling whatsoever. I’ve tried a different sidebar plugin and it works fine.
Perhaps I can PM you a link to view?
Thanks
GlennyboyForum: Plugins
In reply to: [Custom Post Type Permalinks] It doesn't work at allMe too 404!
Forum: Plugins
In reply to: [Mailchimp List Subscribe Form] Datepicker Not working in WidgetAh
I found this was not working as it was present in a widget and also on the page. I’m guessing this is a jquery conflict.Forum: Plugins
In reply to: [Cookie Control] [Plugin: Cookie Control] does nothingHi All
As above I had the same problem and then checked WordPress Codex and found the solution (certainly in my case anyway. Basically wp_head(); must come before the closing /head tag. In my case it was at the top of the head. I put it to the bottom and it worked immediately. As per:-
<?php /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?>