WPCharitable
Forum Replies Created
-
Seen, and replied!
Cheers,
EricThank you so much for the kind words Jeremy! We’re so pleased to see Matchme up and running and raising money for great causes.
Cheers,
EricThe problem is the site URL. The donation receipt URL is automatically built based on that, though I see that that should really be based on the home URL instead. I’ll work on a fix.
Get in touch via our support form if you’d like to try out a pre-release of the next version with this issue resolved.
Cheers,
EricI’m going to close this thread as resolved due to inactivity. Paul, if you’re still having problems with this, please feel free to post here anytime.
Cheers,
EricHi georg.io,
Interesting. I haven’t come across this problem before. Could you post a screenshot of the site URL and home URL for your site?
Cheers,
EricThanks georg.io for stepping in! Awesome to see people helping each other 🙂
I know the donation receipt implementation isn’t that easy to customize at this stage, so for the next version of Charitable I’m going to focus particularly on improving that.
Cheers,
EricHi Tien Kiet Boi,
Thank you for your review! So glad you’re liking the plugin.
To allow people to submit campaigns on your website, you can use our Charitable Ambassadors extension.
Cheers,
EricHi CAD,
Thanks so much for the kind words! Glad you’re liking the plugin.
We’re planning a PayU Money extension, to be available at the same price as our Stripe extension ($49 USD). Does that sound like it would work for you?
Cheers,
EricHi georg.io,
Could you get in touch via our support page with details on what you have tried so far?
Cheers,
EricWe always love feedback! We will definitely look at ways to improve both of those issues you mentioned.
With the section about money, you can remove that entire block with the following bit of code:
remove_action( 'charitable_campaign_content_before', 'charitable_template_campaign_summary', 6 );Just drop that into your theme’s
functions.phpfile or add it with the Code Snippets plugin.Cheers,
EricHi there,
That may be a problem with the permalinks. If so, there is an easy way to fix it:
- In your WordPress dashboard, go to Settings > Permalinks
- Click on the button to save the settings. You don’t need to change any settings.
Let me know if that resolves the issue for you.
Cheers,
EricHi Yael,
Ah, gotcha. So to move the campaign summary from before the content to after the content, you need to ‘unhook’ it from the
charitable_campaign_content_beforehook and then attach it to thecharitable_campaign_content_afterhook:remove_action( 'charitable_campaign_content_before', 'charitable_template_campaign_summary', 6 ); add_action( 'charitable_campaign_content_after', 'charitable_template_campaign_summary', 2 );That should be all you need to do.
Cheers,
EricHi Yael,
The
content-campaign.phpis the one that defines the template for the campaign page. But it’s a hook-based template, so what you actually want is a way to change which hooks are called at which points.The best place to look for this is in
includes/public/charitable-template-hooks.php. If you scroll down you will see that there are a lot of comments throughout the file to explain what each section is doing. And you will see lines of code like this:add_action( 'charitable_campaign_content_before', 'charitable_template_campaign_description', 4 ); add_action( 'charitable_campaign_content_before', 'charitable_template_campaign_summary', 6 );This particular example shows that the campaign description and stats summary are added before the campaign content. To switch their order, you could add this to your theme’s
functions.phpfile:remove_action( 'charitable_campaign_content_before', 'charitable_template_campaign_description', 4 ); add_action( 'charitable_campaign_content_before', 'charitable_template_campaign_description', 8 );That’s just a very simple example, but hopefully it’s helpful in showing how to modify the campaign page.
Cheers,
EricIn the end I tried returning the URL to just be https://wpcharitable.com/ (without the
www). This worked; visits are tracking correctly now.Unfortunately, my Cloudflare setup requires the
wwwbecause it’s through my host. I can’t figure out why changing from the root url to the one with www is completely killing stats though. Any ideas?I had added the following to my .htaccess to redirect requests:
RewriteCond %{HTTP_HOST} !^www\.wpcharitable\.com$ [NC] RewriteRule ^(.*)$ https://www.wpcharitable.com/$1 [R=301,L]Is it possible that caused the problem?
I should also mention that I have enabled debug mode, but I am not seeing anything at all in the console (I am logged in as the administrator).
Cheers,
Eric