Bob Jefferson
Forum Replies Created
-
Are you sure about this? Why do I get the warning:
All your settings and events will be permanently deleted. This cannot be undone.
Forum: Plugins
In reply to: [Toggle The Title] Feature requestOK, so in single-page.php I find this
<header class="entry-header"> <h1 class="page-header page-title"> <strong><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'firmasite' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></strong> <?php if (!empty($post->post_excerpt)){ ?> <small><?php the_excerpt(); ?></small> <?php } ?> </h1> </header>
and I should replace all of that with:
print return_page_title_html_block($post);
and change the function you asked me to add to functions.php to the new one you posted above?
No. Maybe I should try reinstalling though? Will I lose all my current listings and settings?
No, I tried that but the pagination still doesn’t work. See: https://porty.org.uk/listings-2/
Everything else works OK and I have the latest version – 5.5.2
Forum: Plugins
In reply to: [Toggle The Title] Feature requestYes, I found this but don’t understand it. I added the function to functions.php in my child theme. Can you explain part 2 more clearly in very simple terms? This is what I currently have in page.php in my child theme:
<?php /** * @package firmasite */ global $firmasite_settings; get_header(); ?> <div id="primary" class="content-area clearfix <?php echo $firmasite_settings["layout_primary_class"]; ?>"> <?php if ( have_posts() ) : ?> <?php do_action( 'open_content' ); ?> <?php do_action( 'open_page' ); ?> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php /* Include the Post-Type-specific template for the content. If you want to support Post-Format, i suggest customize loop files with switch() */ global $post; get_template_part( 'templates/single', $post->post_type ); ?> <?php endwhile; ?> <?php do_action( 'close_page' ); ?> <?php do_action( 'close_content' ); ?> <?php else : ?> <?php get_template_part( 'templates/no-results', 'index' ); ?> <?php endif; ?> </div><!-- #primary .content-area --> <?php get_sidebar(); ?> <?php get_footer(); ?>
OK, I’ve resaved permalinks without changes. All plugins were disabled anyway for that page, apart from Events Manager and SiteOrigin Page Builder. I tried switching to the 2012 theme and have the same problem.
Yeah, thanks for your help anyway.
To be more precise, the image links will open in a new tab or window, just not in the same window. I appreciate that this is no longer a NGG issue but has anyone come across this problem before?
Actually, I have discovered that I have a more serious problem. None of my image links are working sitewide. This is an example of the error messages I’m getting:
XMLHttpRequest cannot load https://www.facebook.com/portobello.online. Origin https://porty.org.uk is not allowed by Access-Control-Allow-Origin.