Simon Elchlepp
Forum Replies Created
-
Forum: Plugins
In reply to: [Contextual Related Posts] Related Posts widget not always displaying resultsThat’s great news – thanks for your continued work on this great plugin!
Forum: Plugins
In reply to: [Contextual Related Posts] Related Posts widget not always displaying resultsThank you so much – limiting the content in the list tuning tab has fixed the issue!
Forum: Plugins
In reply to: [Contextual Related Posts] Related Posts widget not always displaying resultsThank you as always for your swift reply. I don’t have match title and content enabled.
However, Query Monitor has picked up a duplicate query and a database error on one of the pages where no related posts appear:
Database error:
Query
Show full columns from ‘its’Caller
WP_Query->get_posts()
wp-includes/class-wp-query.php:3026
WP_Query->query()
wp-includes/class-wp-query.php:3448
WP_Query->__construct()
wp-includes/class-wp-query.php:3559
CRP_Query->__construct()
wp-content/plugins/contextual-related-posts/includes/class-crp-query.php:112
get_crp_posts()
wp-content/plugins/contextual-related-posts/includes/main-query.php:613
get_crp()
wp-content/plugins/contextual-related-posts/includes/main-query.php:85
CRP_Widget->widget()
wp-content/plugins/contextual-related-posts/includes/modules/class-crp-widget.php:339
WP_Widget->display_callback()
wp-includes/class-wp-widget.php:380
dynamic_sidebar(‘sidebar’)
wp-includes/widgets.php:823
genesis_do_sidebar()
wp-content/themes/genesis/lib/structure/sidebar.php:24
do_action(‘genesis_sidebar’)
wp-includes/plugin.php:484
load_template(‘wp-content/themes/genesis/sidebar.php’)
wp-includes/template.php:730
locate_template()
wp-includes/template.php:676
get_sidebar()
wp-includes/general-template.php:136
genesis_get_sidebar()
wp-content/themes/genesis/lib/structure/layout.php:333
do_action(‘genesis_after_content’)
wp-includes/plugin.php:484Component
Plugin: contextual-related-postsError message
Table ‘bestwes6_wp898.its’ doesn’t existError code
1146Duplicate Queries
Query
Show full columns from itsCount
2Caller
WP_Query->get_posts()
2 callsComponent
Plugin: contextual-related-postsOther posts that display related posts don’t generate the above messages. The posts are all written the same way, have the same media components etc., while I only use the plugin in the widgets area – so I’m not sure why some posts generate the error message and some don’t.
Many thanks,
SimonForum: Plugins
In reply to: [Contextual Related Posts] Create line break in widget outputNo worries at all and adding it under ‘Customize’ has worked beautifully, thank you for all your help!
Forum: Plugins
In reply to: [Contextual Related Posts] Create line break in widget outputMany thanks for this and I have added the code in the custom CSS section: https://ibb.co/9nJR5PT. However, in the widget the post title still appears right next to the image, without any space between image and post title: https://www.greatestgamemusic.com/soundtracks/top-gear-2-soundtrack/. Thank you for your patience!
Forum: Plugins
In reply to: [Contextual Related Posts] Create line break in widget outputThanks so much Ajay! I’ve tried adding the code in a few places to change how the widget displays post titles, but it doesn’t seem to have worked yet (after clearing the cache etc.):
– in the Custom CSS section of the plugin under ‘Styles’
– in the ‘default-style.css’ file in my Cpanel:
.crp_related .crp_title {
color: #fff !important;
position: absolute;
display: block;
bottom: 0;
padding: 3px;
font-size: .9em;
text-shadow: .1em .1em .2em #000;
background-color: rgba(0, 0, 0, 0.5);
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
display:block
}– in the ‘default-style.css’ file in my Cpanel (by adding a new line):
.crp_related .crp_title { display:block; }Am I adding the code in the wrong spot? My apologies if that’s the case and I’m complicating things.
Many thanks,
SimonUnfortunately, disabling post excerpts unfortunately didn’t work either. As you say, this seems to be an issue with the template I’m using – probably not much that can be done. Thanks in any case for all your help!
Sure, I just tried the “Medal of Honor” search again and this came up in the error log:
May 09, 11:49:51 PHP Warning: sprintf(): Too few arguments in /home/simonelc/public_html/wp-content/plugins/auto-pagination/auto-pagination-functions.php on line 227
May 09, 11:49:51 PHP Warning: sprintf(): Too few arguments in /home/simonelc/public_html/wp-content/plugins/auto-pagination/auto-pagination-functions.php on line 227
May 09, 11:49:52 PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 403071 bytes) in /home/simonelc/public_html/wp-includes/formatting.php on line 300
May 09, 11:49:52 PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
I disabled the auto pagination plugin that I’m using, but Relevanssi still generated blank pages.
This might be related to my blog structure: for example, the same article about Steve Burke is included in different sections of the website (Orchestral Soundtracks, Action Adventure Games, Soundtracks From 2005 etc.) Each of these sections are autopaginated via the above plugin to display 10 posts per page. When looking for “Steve Burke”, Relevanssi will then show the first 10 posts in Orchestral Soundtracks, Action Adventure Games etc. – even though those 10 posts don’t mention Steve Burke.
Is this a matter of changing in the settings how Relevanssi displays search results?
Hope it all makes sense!
Hi Mikko,
Thanks for such a quick response. I’ve emptied all caches via W3 Total Cache, but still get the autofill circle. Admittedly though, that’s not really a Relevanssi problem.
Thanks for the working search link. Interestingly, “Steve Burke” generates a result, while just Steve Burke only shows a blank page. I’ve tried 10-15 other search terms, but only one of them worked: “Remember Me” – however, just Remember Me again generated a blank page again.
For all it’s worth, I also found that typing in “Medal of Honour” (following Safari autocorrect) correctly generated a no results found page, while “Medal of Honor” generated a blank page.
I have 548 published posts and 8 post drafts on the website, and Relevanssi shows 556 documents in the index.
Thanks again!