macnmotion2
Forum Replies Created
-
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Wishlist on mobile – html showingYour temporary solution does indeed remove the problem, at the expense of some beauty on mobile. I’ll contact the theme author for further assistance. Thanks again.
- This reply was modified 4 years, 3 months ago by macnmotion2.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Wishlist on mobile – html showingThanks, I’ll give this a go in the morning.
Forum: Plugins
In reply to: [Post My CF7 Form] Having trouble with auto publishing postThis is now resolved.
Forum: Plugins
In reply to: [Post My CF7 Form] Having trouble with auto publishing postAhhh, I got it. You’re right I must have copied the helper function into my functions.php before setting my post_type. I just got the helper code again, and my post_type was properly embedded in the code — Nice!
All working now. Thanks for the time.
Forum: Plugins
In reply to: [Post My CF7 Form] Having trouble with auto publishing postThanks for the reply.
As to your first point, I am not sure I understand what would need to be updated.
I used these lines from your code (I’ve left out the comments):
add_filter( ‘cf7_2_post_status_post’, ‘publish_new_post’,10,3);
function publish_new_post($status, $ckf7_key, $submitted_data){
return ‘publish’;
}My mapped post_type is: custmsg
Do I have to put that post_type somewhere in the code above?
My submit button uses: [submit “Send”]
So if I’m not doing anything wrong with the code listed above, then I’ll try adding debug messages. But please let me know if I’ve missed something above. Thanks.
It’s a very powerful piece of software – I’m sure a tutorial will open my eyes to possibilities as well. Looking forward to it.
I can get you started.
After you create the new form, when you view your list of forms you’ll see a new column. Click on the link “Create New” to map the form to a post:
screenshot – new columnthis will take you to the mapping page. In the following screenshot:
1) you need to name your custom post type, and then give readable singular and plural names for the WordPress backend menu system. Here I’ve named my custom post type user-msg.
2) If you want, you can map any of your form fields to some of the default built-in post fields. This is not necessary.
3) Use this area to create new meta fields in the custom post to hold your form data. For each field you create, give it a name and select the form field you want mapped to it. For example, here I’ve mapped the custom field “user_message” to the form field “your-message”
4) After you have submitted a form, you will see a new menu item in the left sidebar. This will take you to your new custom post type, and list all the forms submitted — one for each post.
screenshot – mapping fields to a post
Hope that gets you started.
Thanks. We are using memcached on our site, not sure what will happen if we change the page caching setting from memcached to disk enhanced. Will that no longer use memcached for our database caching? We can’t take a chance on breaking our database caching. Thoughts?
Hi. Has anyone found a fix for the issue described by Andrew Wilder? We have the same problem, we are set to memcached and have https, and individual page caching does not work.
Of course, that did it! Thanks for the quick and terrific support.