Title: davidmarek's Replies | WordPress.org

---

# davidmarek

  [  ](https://wordpress.org/support/users/davidmarek/)

 *   [Profile](https://wordpress.org/support/users/davidmarek/)
 *   [Topics Started](https://wordpress.org/support/users/davidmarek/topics/)
 *   [Replies Created](https://wordpress.org/support/users/davidmarek/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/davidmarek/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/davidmarek/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/davidmarek/engagements/)
 *   [Favorites](https://wordpress.org/support/users/davidmarek/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/davidmarek/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/davidmarek/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Split Test For Elementor] Not Tracking in Statistics](https://wordpress.org/support/topic/not-tracking-in-statistics/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/not-tracking-in-statistics/#post-13816834)
 * We use Siteground’s caching.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Split Test For Elementor] Not Tracking in Statistics](https://wordpress.org/support/topic/not-tracking-in-statistics/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [6 years ago](https://wordpress.org/support/topic/not-tracking-in-statistics/#post-13285305)
 * Hi – do you need any more info for this? I’ve re-activated and set up the test
   again but I still can’t get views in the statistics even though I’ve used the
   page, as have others, many times. Really keen to get this working!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP Donation Widgets for Elementor] Parse error: syntax error, unexpected end of file in give_receipt.php on line 3](https://wordpress.org/support/topic/pparse-error-syntax-error-unexpected-end-of-file-in-give_receipt-php-on-line-3/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/pparse-error-syntax-error-unexpected-end-of-file-in-give_receipt-php-on-line-3/#post-12781927)
 * [@webdevmattcrom](https://wordpress.org/support/users/webdevmattcrom/) Thanks
   Matt. Plugin’s great and makes it a lot easier to add GiveWP components. Do you
   have plans to add styling options for these?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP Donation Widgets for Elementor] Parse error: syntax error, unexpected end of file in give_receipt.php on line 3](https://wordpress.org/support/topic/pparse-error-syntax-error-unexpected-end-of-file-in-give_receipt-php-on-line-3/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/pparse-error-syntax-error-unexpected-end-of-file-in-give_receipt-php-on-line-3/#post-12780951)
 * [@denspad](https://wordpress.org/support/users/denspad/) You’re right – checked
   the PHP settings and short_open_tag was OFF. Thanks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP Donation Widgets for Elementor] Parse error: syntax error, unexpected end of file in give_receipt.php on line 3](https://wordpress.org/support/topic/pparse-error-syntax-error-unexpected-end-of-file-in-give_receipt-php-on-line-3/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/pparse-error-syntax-error-unexpected-end-of-file-in-give_receipt-php-on-line-3/#post-12780623)
 * [@denspad](https://wordpress.org/support/users/denspad/) Thank you! I made the
   change to the file and it works!
 * [@webdevmattcrom](https://wordpress.org/support/users/webdevmattcrom/) Are you
   able to apply this change to the next release?
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP Donation Widgets for Elementor] Parse error: syntax error, unexpected end of file in give_receipt.php on line 3](https://wordpress.org/support/topic/pparse-error-syntax-error-unexpected-end-of-file-in-give_receipt-php-on-line-3/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/pparse-error-syntax-error-unexpected-end-of-file-in-give_receipt-php-on-line-3/#post-12761027)
 * Using Health Check Troubleshooting with a base theme (2020 or Astra) and only
   Give Core + Elementor, the error happens as soon as I activate the GiveWP Donation
   Widgets for Elementor – no other plugins were running.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP Donation Widgets for Elementor] Parse error: syntax error, unexpected end of file in give_receipt.php on line 3](https://wordpress.org/support/topic/pparse-error-syntax-error-unexpected-end-of-file-in-give_receipt-php-on-line-3/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/pparse-error-syntax-error-unexpected-end-of-file-in-give_receipt-php-on-line-3/#post-12758742)
 * Sure, here it is:
    ### WordPress Environment ###
 * Home URL: [https://give.undermywing.org.uk](https://give.undermywing.org.uk)
   
   Site URL: [https://give.undermywing.org.uk](https://give.undermywing.org.uk) 
   WP Version: 5.4.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: ✔ WP
   Cron: ✔ Language: en_GB Permalink Structure: /%postname%/ Show on Front: page
   Page on Front: Home (#5) Page for Posts: Unset Table Prefix Length: L6f7J_ Table
   Prefix Length: 6 Table Prefix Status: Acceptable Admin AJAX: Accessible Registered
   Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit,
   request-pending, request-confirmed, request-failed, request-completed, refunded,
   failed, revoked, cancelled, abandoned, processing, preapproval
 * ### Server Environment ###
 * Hosting Provider: DBH: localhost:3306, SRV: give.undermywing.org.uk
    TLS Connection:
   Connection uses TLS 1.2 TLS Connection: Probably Okay Server Info: Apache PHP
   Version: 7.3.17 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars:
   1000 PHP Max Upload Size: 2 MB cURL Version: ❌ 7.29.0, NSS/3.44 – We recommend
   a minimum cURL version of 7.40. SUHOSIN Installed: – MySQL Version: 5.7.30 Default
   Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ gzip: ✔ GD 
   Graphics Library: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔
 * ### GiveWP Configuration ###
 * GiveWP Version: 2.6.2
    GiveWP Cache: Enabled Database Updates: All DB Updates
   Completed. Database Tables: ✔ L6f7J_give_donors – 1.0✔ L6f7J_give_donormeta –
   1.0✔ L6f7J_give_comments – 1.0✔ L6f7J_give_commentmeta – 1.0✔ L6f7J_give_sessions–
   1.0✔ L6f7J_give_logs – 1.0✔ L6f7J_give_logmeta – 1.0✔ L6f7J_give_formmeta – 1.0
   ✔ L6f7J_give_sequential_ordering – 1.0✔ L6f7J_give_donationmeta – 1.0 GiveWP 
   Cache: Enabled GiveWP Cache: ✔New Donation✔Donation Receipt❌New Offline Donation
   ❌Offline Donation Instructions✔New User Registration✔User Registration Information
   ✔Donation Note✔Email access Upgraded From: 2.6.0 Test Mode: Enabled Currency 
   Code: GBP Currency Position: Before Decimal Separator: . Thousands Separator:,
   Success Page: [https://give.undermywing.org.uk/donate/donation-confirmation/](https://give.undermywing.org.uk/donate/donation-confirmation/)
   Failure Page: [https://give.undermywing.org.uk/donation-failed/](https://give.undermywing.org.uk/donation-failed/)
   Donation History Page: [https://give.undermywing.org.uk/donation-history/](https://give.undermywing.org.uk/donation-history/)
   GiveWP Forms Slug: /donations/ Enabled Payment Gateways: Stripe – Credit Card,
   PayPal Standard Default Payment Gateway: Stripe – Credit Card PayPal IPN Verification:
   Enabled PayPal IPN Notifications: IPN received for #20888 ( 47U438337E903884A)
   on 04/27/2020 at 21:28. Status VERIFIED Donor Email Access: Enabled Stripe Webhook
   Notifications: 30th April, 2020 11:55 am
 * ### Active GiveWP Add-ons ###
 * ### Other Active Plugins ###
 * Elementor: by Elementor.com – 2.9.8
    Elementor Pro: by Elementor.com – 2.9.3 
   Health Check & Troubleshooting: by The WordPress.org community – 1.4.4
 * ### Inactive Plugins ###
 * Advanced Custom Fields: by Elliot Condon – 5.8.9
    BHWT: by Guava Design Ltd –
   1.4.0 Central Color Palette: by Daniel Menzies – 1.14.7 Classic Editor: by WordPress
   Contributors – 1.5 Code Snippets: by Code Snippets Pro – 2.14.0 Custom Post Type
   UI: by WebDevStudios – 1.7.4 Ele Custom Skin: by Dudaster.com – 2.0.2 GDPR Cookie
   Consent: by WebToffee – 1.8.7 Give – Fee Recovery: by GiveWP – 1.7.7 Give – Form
   Field Manager: by GiveWP – 1.4.4 Give – Gift Aid: by GiveWP – 1.2.3 Give – GoCardless
   Gateway: by GiveWP – 1.3.5 Give – Google Analytics Donation Tracking: by GiveWP–
   1.2.4 Give – Per Form Gateways: by GiveWP – 1.0.2 Give – Recurring Donations:
   by GiveWP – 1.10.1 Give – Stripe Gateway: by GiveWP – 2.2.5 Give – Tributes: 
   by GiveWP – 1.5.6 GiveWP Donation Widgets for Elementor: by GiveWP – 1.0 Really
   Simple SSL: by Rogier Lankhorst, Mark Wolters – 3.3.1 SendGrid: by SendGrid –
   1.11.8 Sucuri Security – Auditing, Malware Scanner and Hardening: by Sucuri Inc.–
   1.8.24 User Role Editor: by Vladimir Garagulya – 4.53.1 WPFront Scroll Top: by
   Syam Mohan – 2.0.2 WP Mail Logging: by MailPoet – 1.9.5
 * ### Active MU Plugins ###
 * Health Check Troubleshooting Mode: by – 1.7.1
    installatron_hide_status_test.
   php: by –
 * ### Theme ###
 * Name: Twenty Twenty
    Version: 1.2 Author URL: [https://en-gb.wordpress.org/](https://en-gb.wordpress.org/)
   Child Theme: No – If you’re modifying GiveWP on a parent theme you didn’t build
   personally, then we recommend using a child theme. See: How to Create a Child
   Theme
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elements Plus!] Hotspots](https://wordpress.org/support/topic/hotspots-4/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/hotspots-4/#post-12402321)
 * That worked great – thank you very much.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elements Plus!] Hotspots](https://wordpress.org/support/topic/hotspots-4/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/hotspots-4/#post-12397447)
 * Thanks, it’s [https://holly.undermywing.org.uk/hen-examination-guidelines/](https://holly.undermywing.org.uk/hen-examination-guidelines/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elements Plus!] Hotspots](https://wordpress.org/support/topic/hotspots-4/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/hotspots-4/#post-12370751)
 * Thanks for this – it doesn’t seem to be having an effect though?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] YouTube Video Link in Post](https://wordpress.org/support/topic/youtube-video-link-in-post/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/youtube-video-link-in-post/#post-10258481)
 * Perfect – thank you!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Social Sharing – Sharing Heading](https://wordpress.org/support/topic/social-sharing-sharing-heading/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/social-sharing-sharing-heading/#post-10165417)
 * Brilliant! Thanks!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Reduce Margin between header and Blog title](https://wordpress.org/support/topic/reduce-margin-between-header-and-blog-title/)
 *  [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/reduce-margin-between-header-and-blog-title/#post-10165413)
 * Brilliant! Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Permalinks only go to homepage](https://wordpress.org/support/topic/permalinks-only-go-to-homepage/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/permalinks-only-go-to-homepage/#post-8453510)
 * I’ve downloaded the most recent twentytwelve, but still the links don’t work.
   If I activate 2012, the links on the homepage do work. If I then re-activate 
   the custom theme the links don’t work.
    Does that prove therefore (as you said),
   that it’s something to do with the custom theme?
 * index.php is below, but looks OK – any other suggestions gratefully received!
 *     ```
       <?php
       /**
        * The main template file
        *
        * This is the most generic template file in a WordPress theme
        * and one of the two required files for a theme (the other being style.css).
        * It is used to display a page when nothing more specific matches a query.
        * For example, it puts together the home page when no home.php file exists.
        *
        * @link http://codex.wordpress.org/Template_Hierarchy
        *
        * @package WordPress
        * @subpackage Twenty_Twelve
        * @since Twenty Twelve 1.0
        		<?php if (is_category(24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40)) : 
       						get_template_part( 'content', 'gallery'); 
                         else : 
       						get_template_part( 'content', 'masonry'); 
                         endif; ?>
        */
   
       get_header(); ?>
       	<div id="primary" class="site-content">
               <?php if ( is_active_sidebar( 'sidebar-10' ) ) : ?>
       		<div id="list-area" class="list-area" role="complementary">
       			<?php dynamic_sidebar( 'sidebar-10' ); ?>
       		</div><!-- #footer one -->
       	<?php endif; ?>
   
       		<div id="content" role="main" class="container" style="height:auto">
       		<?php if ( have_posts() ) : ?>
   
               <div id="masonry-loop">
                   <?php /* The loop */ ?>
       			<?php query_posts('cat=40'); ?> 
                   <?php while ( have_posts() ) : the_post(); ?>
       			<?php if (is_category(40)) : 
       				get_template_part( 'content', 'masonry'); 
       		  endif; ?>
   
   
                   <?php endwhile; ?>
               </div><!--/#masonry-loop-->
   
       			<?php twentytwelve_content_nav( 'nav-below' ); ?>
   
       		<?php else : ?>
   
       			<article id="post-0" class="post no-results not-found">
   
       			<?php if ( current_user_can( 'edit_posts' ) ) :
       				// Show a different message to a logged-in user who can add posts.
       			?>
       				<header class="entry-header">
       					<h1 class="entry-title"><?php _e( 'No posts to display', 'twentytwelve' ); ?></h1>
       				</header>
   
       				<div class="entry-content">
       					<?php printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentytwelve' ), admin_url( 'post-new.php' ) ); ?>
   
       				</div><!-- .entry-content -->
   
       			<?php else :
       				// Show the default message to everyone else.
       			?>
       				<header class="entry-header">
       					<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1>
       				</header>
   
       				<div class="entry-content">
       					<?php _e( 'Apologies, but no results were found. Perhaps searching will help find a related post.', 'twentytwelve' ); ?>
   
       					<?php get_search_form(); ?>
       				</div><!-- .entry-content -->
       			<?php endif; // end current_user_can() check ?>
   
       			</article><!-- #post-0 -->
   
       		<?php endif; // end have_posts() check ?>
   
       		</div><!-- #content -->
       	</div><!-- #primary -->
           <?php if ( is_active_sidebar( 'sidebar-9' ) ) : ?>
       		<div id="advert" class="widget-area" role="complementary">
       			<?php dynamic_sidebar( 'sidebar-9' ); ?>
       		</div><!-- #footer one -->
       	<?php endif; ?>
   
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Permalinks only go to homepage](https://wordpress.org/support/topic/permalinks-only-go-to-homepage/)
 *  Thread Starter [davidmarek](https://wordpress.org/support/users/davidmarek/)
 * (@davidmarek)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/permalinks-only-go-to-homepage/#post-8451850)
 * I’ve downloaded the most recent twentytwelve, but still the links don’t work.
   If I activate 2012, the links on the homepage do work. If I then re-activate 
   the custom theme the links don’t work.
    Does that prove therefore (as you said),
   that it’s something to do with the custom theme?
 * index.php is below, but looks OK – any other suggestions gratefully received!
 *     ```
       <?php
       /**
        * The main template file
        *
        * This is the most generic template file in a WordPress theme
        * and one of the two required files for a theme (the other being style.css).
        * It is used to display a page when nothing more specific matches a query.
        * For example, it puts together the home page when no home.php file exists.
        *
        * @link http://codex.wordpress.org/Template_Hierarchy
        *
        * @package WordPress
        * @subpackage Twenty_Twelve
        * @since Twenty Twelve 1.0
        		<?php if (is_category(24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40)) : 
       						get_template_part( 'content', 'gallery'); 
                         else : 
       						get_template_part( 'content', 'masonry'); 
                         endif; ?>
        */
   
       get_header(); ?>
       	<div id="primary" class="site-content">
               <?php if ( is_active_sidebar( 'sidebar-10' ) ) : ?>
       		<div id="list-area" class="list-area" role="complementary">
       			<?php dynamic_sidebar( 'sidebar-10' ); ?>
       		</div><!-- #footer one -->
       	<?php endif; ?>
   
       		<div id="content" role="main" class="container" style="height:auto">
       		<?php if ( have_posts() ) : ?>
   
               <div id="masonry-loop">
                   <?php /* The loop */ ?>
       			<?php query_posts('cat=40'); ?> 
                   <?php while ( have_posts() ) : the_post(); ?>
       			<?php if (is_category(40)) : 
       				get_template_part( 'content', 'masonry'); 
       		  endif; ?>
   
   
                   <?php endwhile; ?>
               </div><!--/#masonry-loop-->
   
       			<?php twentytwelve_content_nav( 'nav-below' ); ?>
   
       		<?php else : ?>
   
       			<article id="post-0" class="post no-results not-found">
   
       			<?php if ( current_user_can( 'edit_posts' ) ) :
       				// Show a different message to a logged-in user who can add posts.
       			?>
       				<header class="entry-header">
       					<h1 class="entry-title"><?php _e( 'No posts to display', 'twentytwelve' ); ?></h1>
       				</header>
   
       				<div class="entry-content">
       					<p><?php printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentytwelve' ), admin_url( 'post-new.php' ) ); ?></p>
       				</div><!-- .entry-content -->
   
       			<?php else :
       				// Show the default message to everyone else.
       			?>
       				<header class="entry-header">
       					<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1>
       				</header>
   
       				<div class="entry-content">
       					<p><?php _e( 'Apologies, but no results were found. Perhaps searching will help find a related post.', 'twentytwelve' ); ?></p>
       					<?php get_search_form(); ?>
       				</div><!-- .entry-content -->
       			<?php endif; // end current_user_can() check ?>
   
       			</article><!-- #post-0 -->
   
       		<?php endif; // end have_posts() check ?>
   
       		</div><!-- #content -->
       	</div><!-- #primary -->
           <?php if ( is_active_sidebar( 'sidebar-9' ) ) : ?>
       		<div id="advert" class="widget-area" role="complementary">
       			<?php dynamic_sidebar( 'sidebar-9' ); ?>
       		</div><!-- #footer one -->
       	<?php endif; ?>
   
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
       ```
   

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/davidmarek/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/davidmarek/replies/page/2/?output_format=md)