Search engines are finding and displaying an events page that does not exist on our website – https://eckankar-colorado.org/events/. The page has a double footer, is not complete, and does not appear to be generated from our “Modern Events Calendar” plugin. We are trying to figure out where it is coming from.
When looking at the source code of the https://eckankar-colorado.org/events/ page, I see several references to Autoptimize cache. Is it possible that Autoptimize is triggering this page from cache?
I have Excluded the wp-content/plugins/modern-events-calendar scripts from from both JavaScript and CSS within the Autoptimize settings, but this has made no difference to the display of the random page.
Would be very grateful if you can take a look and let us know what you think.
Best,
Christie
WordPress 6.4.3
Site URL: https://eckankar-colorado.org
PHP version: 8.0.30?
This would be a way of them coming across pages they’d never think to navigate to, or hadn’t seen in the main menu/s.
There are plenty of (older) plugins which can direct to a random post, but not a page.
Ideally I’d also be able to exclude various pages (so people don’t end up on test pages etc)
]]>I have no doubt about solution but in my site/template if I place the following code
<?php
$args = array( 'post_type' => 'page', 'numberposts' => 1, 'orderby' => 'rand' );
$rand_posts = get_posts( $args );
foreach( $rand_posts as $post ) : ?>
<a>"><?php the_title(); ?>
<?php the_content(); ?>
<?php endforeach; ?>
inside my index page it duplicates the content of all pages.
How can I fix this problem???
Thank you for your kind cooperation
Is there any way to use this plugin to include a search box on any given page? I want to use live search in a page different than the search.php …
Any tips?
Best regards,
SNURK
https://www.ads-software.com/extend/plugins/daves-wordpress-live-search/
]]>I have set an empty page (just the title) as a static home page.
I would now like to have the home page display a random ‘page'(not post) within a specified range of page IDs (lets say from 1 to 10).
If I understood correctly, I could add some code in index.php for that:
https://pastebin.com/jsMexdK6
I have some hard time figuring out what code I could use to pull that ‘functionality’? (no plugin found, and most content concerns posts, and does not cover a specified range of page or post IDs)
Any pointer is welcome!
Thanks
]]>thank you!
]]>I’m trying to convert WordPress into an Ad Server for my company and I’d like to take advantage of the page templates to allow for different style sheets when needed (white ad/white background, black ad/black background).
Any help will be greatly appreciated.
https://www.ads-software.com/extend/plugins/random-redirect/
]]>