Eddie
Forum Replies Created
-
Forum: Plugins
In reply to: [GD Mail Queue] Plugin isn’t catching all wp_mail initiations.For anyone else facing this issue or similar, I’ve put together a temporary piece of code for myself, the following piece of code assumes the email is formatted in HTML and not just plain text, but should work both ways.
Additionally, there is probably a better way to do this, like a function, but here goes:
global $wpdb; $queue_table_name = $wpdb->prefix . 'gdmaq_queue'; $wpdb->insert( $queue_table_name, array( 'blog_id' => '1', 'status' => 'queue', // this adds the email to the queue list 'queued' => $date, // current date formatted like: $date = date("Y-m-d H:i:s"); 'sent' => '0000-00-00 00:00:0', // blank date that will be changed once the queued email has been send 'type' => 'mail', 'to_email' => $receivingemail, // variable for your too address 'subject' => $subject, // variable for your subject 'plain' => '', 'html' => $body, // the email content 'headers' => '[]', 'attachments' => '[]', 'extras' => '{"CharSet":"UTF-8","ContentType":"text\/html","Encoding":"8bit","From":"[email protected]","FromName":"FromName"}', // Header information, this changes the from email address and from name. 'message' => '', ) );
I’ve put this in-place of the wp_mail(); function. This adds all the info to the queue database and it will be sent on the next queue run.
This is currently working for me in a custom built plugin.
As stated, there’s probably a better method like a function but I’ve yet to find it.
- This reply was modified 5 years, 5 months ago by Eddie.
Forum: Fixing WordPress
In reply to: CSS changes to stylesheet not workingForum: Fixing WordPress
In reply to: CSS changes to stylesheet not workingForum: Fixing WordPress
In reply to: Woocommerce: Limit Add to Cart to One ClickI just had a play around, trying to replicate your scenario, and was unable to. If you are redirecting to the cart it should retrigger. Have you disabled “AJAX add to basket buttons on archives” in Woocommerce > Settings > Products > Display ?
If that doesn’t work, can you please add a link to the project.
Forum: Plugins
In reply to: [The Events Calendar] How to customize background colourIt would appear you’ve changed plugins. Feel free to reply to this if you change back and still need help.
~ Eddie.
- This reply was modified 7 years, 7 months ago by Eddie.
Forum: Fixing WordPress
In reply to: Help me find the right pluginI’ve used this on clients sites before, and it’s been useful. Features like being able to have unbookable timeframes of your choosing after someone books is great, meaning you can have time to clean / prepare before the next booking arrives.
https://wpbookingcalendar.com/
It has it’s downfalls, though, such as the free version is pretty limited, and the paid versions are pretty expensive.
- This reply was modified 7 years, 7 months ago by Eddie.
Forum: Fixing WordPress
In reply to: CSS changes to stylesheet not workingHave you tried hard refreshing?
Hold CTRL and press F5. Also, try rearranging the stylesheets to load in opposite order.
- This reply was modified 7 years, 7 months ago by Eddie.
Forum: Fixing WordPress
In reply to: Big gap (header) before main image and form needs removingThis css removes that:
header.entry-header { display: none; }
Seeings as you aren’t utilizing the header, it would make sense to hide it.
Additionally, you have pretty significant padding on the
.panel-content .wrap
- This reply was modified 7 years, 7 months ago by Eddie.
Forum: Fixing WordPress
In reply to: Unable to change line spacing for entire siteThe line height looks pretty good to me.
This is what I see currently:
This is with:
p { line-height: 3em; }
I would play around with between 2.5em and 3.5em line height.
Forum: Fixing WordPress
In reply to: Unable to change line spacing for entire siteCan you please post a link to your project? Alternatively, you could try something like the following in your css:
* { line-height:valuehere; }
Please note, the * acts as a wildcard and targets everything. If it’s just paragraph text, just do p { styles }, if it’s paragraphs / headings, do:
p, h1, h2, h3, h4, h5, h6 { line-height:valuehere; }
- This reply was modified 7 years, 7 months ago by Eddie.
Forum: Fixing WordPress
In reply to: Unable to change line spacing for entire siteThat’s great news!
Give me a yell if you need anything else.
~ Eddie.
Forum: Fixing WordPress
In reply to: Unable to change line spacing for entire siteHave you tried doing a hard refresh? Hold CTRL and press F5. You should also be able to clear the cache through the plugin you have installed.
If that doesn’t work, can you post a link to the website in question?
Thanks.
- This reply was modified 7 years, 10 months ago by Eddie.
Forum: Plugins
In reply to: [Wanna Isotope] Posts displaying vertically on page loadAwesome!
No worries mate. Just curing some boredom going through helping people with support requests. Give us a shout if you need anything else.
Glad it helps. Sorry I can’t be too much more help, I haven’t ever used this plugin. I’m just going through support requests helping people out where I can.
Take care.