Babak Fakhamzadeh
Forum Replies Created
-
Forum: Plugins
In reply to: [Droit Dark Mode] How does this work?Sorry to hear I’m the only one who is having problems.
Not sure what you mean with having to use your plugin ‘properly’. If there is an ‘improper’ way, it’s awfully coincidental I stumbled upon it.The docs refer to the settings of your plugin. I don’t see anything that could help me troubleshoot not seeing any visible difference.
When I turn on dark mode for both front and backend, I see no change in either. Perhaps you can share a screenshot of what my backend is supposed to look like?
Or perhaps you are saying that switching the toggle for turning on dark mode in the backend is not the ‘proper’ way to use your plugin?
Forum: Plugins
In reply to: [Gutenberg] Set default image alignment(Adding another comment to get updates on this thread.)
Forum: Plugins
In reply to: [Gutenberg] Set default image alignmentAccording to this:
Try this:
add_action( 'after_setup_theme', 'wnd_default_image_settings' ); function wnd_default_image_settings() { update_option( 'image_default_align', 'left' ); update_option( 'image_default_link_type', 'none' ); update_option( 'image_default_size', 'large' ); }Forum: Plugins
In reply to: [Co-Authors Plus] Delete A Co-Author in MySQL(Adding a message to get notified of updates.)
Forum: Plugins
In reply to: [Co-Authors Plus] Delete A Co-Author in MySQLThere’s another way to do this, but it requires some programming.
You can run a script that cycles through the posts you want to reassign.
For each post, you can get the co-authors.
Then, you can filter out the undesired co-authors.
Then, you can reassign the co-authors for the post in question.The essence:
global $coauthors_plus;
$coauthors_plus->add_coauthors(get_the_ID(), $new_coauthors);Where $new_coauthors is an array of $u->user_nicename, with $u = get_userdata($coauthor->ID);
This is all very shorthand, but it should get you going.
Forum: Plugins
In reply to: [Co-Authors Plus] Adding or changing author no longer workingOn board. Works for me, too. Thanks!
Forum: Plugins
In reply to: [Co-Authors Plus] Adding or changing author no longer workingJust here to say ‘me too’. *Some* authors still show, but many do not.
Rolling back to 3.4.3 did not seem sufficient. Rolling back to 3.4 worked.
Thanks for the quick response.
Sent you a message through your site.
Ah, I now understand why you mentioned the *manual* confirmation of the session ID.
And thanks for pointing me to this other plugin.
I think I know enough for now. Thanks again.
Thanks for the quick response. That plugin you mention looks quite promising. However, the products I’m selling are not actually digital downloads, they are online events, where the URL is ‘just’ the URL of a post, with the content available based on whether the purchase was made or not.
I have inspected the custom fields you add to the payment forms. And I’ve seen that the, coming back from Stripe, the query string parameters include ‘form_id’ and ‘session_id’.
The form_id allows me to tie the purchase to the original product, but, as this comes in via the query string, this is not very secure. I do not see where, or how, I can access the session_id *before* the purchase is final, or how to use the session ID to confirm a valid response from Stripe.Or, you mean I should set my own Session ID?
Thanks for getting back to me. I tried it with autoptimize turned off, but it seemed to make no difference.
Either way, I went with an alternate solution.
Thanks again
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] How to change the checkbox order?Thanks.
I stumbled upon this by accident. Wasn’t sure whether the removal/addition after clearing the cache was indeed what did the trick, but apparently it was.
Best, thanks.
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] How to change the checkbox order?Thanks. I did try that, but clearing the cache makes no difference for me; the order remains the same.
It’s hard to say what order is really maintained, as I only have two groups. The first group in the form is the group that was created first, but should alphabetically be second. In Mailchimp, I’ve got the group that was created second and is alphabetically first as the first of the two groups.
Update:
1. I was using Safari. Using Chrome, the Facebook error did not show up.
2. In the last step, after returning to the plugin settings page, I did not realise I had to actually select one of the available pages.I got a token in the token field and was able to display a feed.
Forum: Plugins
In reply to: [WooCommerce] How to change shop title in page head?That indeed worked. This is what I did:
add_filter('pre_get_document_title', 'change_shop_title'); function change_shop_title($title) { if (is_shop()) { return __("My new title", "mytranslationstring")." - ".get_bloginfo("name"); } return $title; }