I recently purchase Woo Commerce Follow up Email extension and I want to add "Sign-ups, Subscriber Lists, and Email Newsletters" they provide the code
[fue_subscribe label="Email:" placeholder="Your email address" submit_text="Subscribe" success_message="You have been subscribed!"]
The above code working fine on widgets and post/pages but when I add the code in my custom it not works
Can anyone please tell me how to add this type of Wordpress code in custom HTML or PHP
Many thanks
try this inside your theme file:
echo do_shortcode( '[fue_subscribe label="Email:" placeholder="Your email address" submit_text="Subscribe" success_message="You have been subscribed!"]');
Related
i want to change in my eshop the text of class in Register Page.
Text : "A link to set a new password will be sent to your email address"
enter image description here
try to look at woocomerce settings, or change it manualy at code, you can find code fragment by file search, in PhpStorm it`s like a ctrl+shift+f
I have a Wordpress website on which I'm using WooCommerce & WooCommerce Subscriptions Add-on.
The problem is that under My Account page, the "My Subscriptions" field appears above the Welcome message. Please check this screenshot: https://dl.dropboxusercontent.com/u/48854464/Screen%20Shot%202014-10-18%20at%202.11.59%20AM.png
I would like the My Subscriptions field to appear below the welcome message.
I have no clue what to modify.. :(
PS: Using Avada Theme.
Could someone please help me? This is the website in question:
http://www.twistedperfectionism.com/my-account/
Open file /wp-content/themes/avada/woocommerce/myaccount/my-account.php, find these 2 lines in this file:
<?php woocommerce_get_template('user-welcome.php'); ?>
<?php do_action( 'woocommerce_before_my_account' ); ?>
Please check whether they are in same sequence. If not, keep it same as above. do_action( 'woocommerce_before_my_account' ); should be below woocommerce_get_template('user-welcome.php');
I am trying to create a custom theme for BuddyPress and in the template the buddypress/members/single/member-header.php file at line 45 there are buttons rendered using <?php do_action( 'bp_member_header_actions' ); ?>
After a lot of searching around I found out that I should be able to use filters to add custom data to elements, the problem is that I can't find anywhere as to what filter to use or how to use such a filter to add a custom class to these buttons.
The buttons I am talking about are the buttons like "Add Friend", "Public Message" and "Private Message" and I would like to add the "btn" class.
Any help is greatly appreciated.
Check out these filters:
bp_get_add_friend_button
bp_get_send_public_message_button
bp_get_send_message_button_args
EDIT: Updated (see comments)
I am working on custom extension.I am facing two issues.
1 ) I created a custom html page in Locale->en_Us->template->email->testEmail.hmtl.
And this is my config,.xml code :
<template> <email>
<mymodule_email_settings_client_email_template>
<label>Follow up Emails</label>
<file>test_email.html</file>
<type>html</type>
</mymodule_email_settings_client_email_template>
</email>
</template>
when i try to load it in my controller it reutrns me empty .this is my code of accessing template.
$emailTemplate = Mage::getModel('core/email_template')->loadDefault('mymodule_email_settings_client_email_template');
2) I want to load transactional and newsletter templates by there ids.I have id but don't know how can i use that templates on my custom emails.I want only the code to access the templates like above nothing more than that.Can i use that templates in my custom emails ? Thanks
please check following links use to define custom email template
http://www.excellencemagentoblog.com/magento-sending-custom-emails
http://www.atwix.com/magento/emails-for-custom-events/
hope this help you
I'm using OpenCart v. 1.4.9.3 and I'm trying to put the customer's fax number in the confirmation email. I've tried putting the following in the order_confirm.tpl template, but no avail:
Fax <strong><?php echo $customer_fax; ?></strong><br />
Do I need to modify the controller? I'm still a newbie at OpenCart.
You will need to edit the Model actually as well as the edit you have already done
/catalog/model/checkout/order.php
Find
$template->data['customer_telephone'] = $order_query->row['telephone'];
After it put
$template->data['customer_fax'] = $order_query->row['fax'];