Sapphireblue
Forum Replies Created
-
Even though OP fixed this issue with CSS, I wanted to share the PHP/plugin fix I just did to solve this problem, in case it’s helpful to others.
I was having the same issue, specifically in a site that uses a static front page where some custom PHP is pulling in one post each from special categories that are used ONLY to designate content to go on the front page. So I wanted the whole rest of the site except the front page to look like these special categories did not exist.
In version 0.96 of the plugin, in file ultimate-category-excluder.php, the existing line 139:
if (!is_admin() && $query->is_archive) {
changes to look like this instead:
if (!is_admin() && $query->is_archive && !is_front_page()) {
And that solves it for me. Now I can click exclude on all pages for all these special categories, and my front page still works as intended.
Of course, if an update ever becomes available for this plugin, you’d have to be careful to redo this change after running the update.
Hope this helps!
Forum: Plugins
In reply to: [Advanced Random Posts Widget] how to remove the title…thank you mxm.k.marquette! unfortunately the content still loads (and is Google indexed) even if hidden with display:none so it is not ideal. another way is to just comment out or delete the line from the plugin PHP that creates the title (which I will paste below in case anyone wants to try it for themselves) but that is not perfect either because if you ever update the plugin, such as for security reasons, your edit will be removed and your layout will break. Would really be best to have this be a configurable option in the plugin!
$html .= '<a class="arpw-title" href="' . esc_url( get_permalink() ) . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'arpw' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark">' . esc_attr( get_the_title() ) . '</a>';
Forum: Plugins
In reply to: [Advanced Random Posts Widget] how to remove the title…Same question here. I will probably have to use another plugin, if the title cannot be removed.
Ugh. Think I might’ve fixed it. The suggestion from user “chattan” on this post to run yourdomain/wp-admin/upgrade.php seems to have fixed me up. Which is awesome, but I seem to have skipped past gratitude and straight into resenting the loss of an entire gorgeous weekend to such a tiny thing!
Leaving this open for a bit longer to confirm, but will return and change to Resolved when I’m confident all is well. Hope this topic of me talking to myself is useful to future searchers ??
Oh, here’s another diagnostic data point: it’s a multisite install, like 4 blogs on it. Thanks.