fantasy_5
Forum Replies Created
-
Hi, Ena
I was, unable to resolve this issue. I tried the suggestions above but was unsuccessful. The image appeared on the page when added but not below the place order button as desired. If someone has another suggestion in terms of the function or can help me figure out what’s missing from the code below whereas it’s not working properly that would be great. I need to know the exact way the code should be written, including proper hooks, etc. so it will work.
add_action( 'woocommerce_review_order_after_payment', 'add_content_on_checkout' ); public function add_content_on_checkout() { echo "<img src='safe_checkout.png' >"; //add the image url in the src attribute }
Hi, Bcworkz,
Thanks for continuing to assist me. I guess the main thing I need to know is how the function should be written so it works and doesn’t break my website or how to code the same thing I’m seeking via CSS. Should it be written like this with the line for $src = removed?
add_action( 'woocommerce_review_order_after_payment', 'add_content_on_checkout' ); function add_content_on_checkout() { echo "<img src='https://www.shopatkei.com/wp-content/uploads/2021/01/great-reasons-to-buy-from-us-1.jpg' />"; //add the image url in the src attribute }
- This reply was modified 3 years, 9 months ago by bcworkz. Reason: code fixed
Hi, BCworkz,
Thanks for your reply. I’m not really sure about the action either but have been trying to figure it out. Should the code be rewritten like this?
add_action( 'woocommerce_review_order_after_payment', 'add_content_on_checkout' ); function add_content_on_checkout() { $src = get_stylesheet_directory_uri() . '/images/safe_checkout.png'; echo "<img src='https://www.shopatkei.com/wp-content/uploads/2021/01/great-reasons-to-buy-from-us-1.jpg' />"; //add the image url in the src attribute }
- This reply was modified 3 years, 10 months ago by Steven Stern (sterndata).
Thank you
Forum: Fixing WordPress
In reply to: Remove All Product and Category Thumbnails from the shop pageHi, @t-p
This thread is not about the drop shipping plugin I’m using. The product category thumbnails that are displaying on my main shop page are coming from Woocommerce. I only need assistance in adjusting the code above. Can you help?
Forum: Fixing WordPress
In reply to: Remove All Product and Category Thumbnails from the shop pageHi, @t-p
I’m using the Alidropship Woo plugin.
Forum: Fixing WordPress
In reply to: How to Add Social Network Icons to Author Bio/ Single PostsHello!
One more thing… If I want to make the social icons a bit larger, change the color, and put a bit more space between them which portion of the code would I tweak?
When will this plugin be compatible with jetpack? also, the header image under the design tab is no longer working.
Forum: Plugins
In reply to: [Custom Sidebars - Dynamic Sidebar Widget Area Manager] Sidebars Not WorkingHi, Guys!
I deactivated all of the plugins and found the culprit. Thanks so much for your help. I appreciate you!
Hi, Stef!
I deactivated all of the plugins and found the culprit. Thanks so much for your help. I appreciate you!
Forum: Fixing WordPress
In reply to: Front Page Template Issue Posts Not DisplayingIs there someone available who can assist me with this thread?
For instance, in the parent theme’s file short code function and Stykes are used to display the content. Is there a function I can create that will say something like is front page or homepage do short code for news or latest posts?
Forum: Fixing WordPress
In reply to: Front Page Template Issue Posts Not DisplayingHi!
Thanks for your reply but I have already created a page to use as home and it is titled home. It is currently set as my static front page. I am referring to an actual page template. Front-page.php that’s what I need assistance With.
Forum: Fixing WordPress
In reply to: How to Add Social Network Icons to Author Bio/ Single PostsHi, Bigacelloy!
That did the trick. You are one smart cookie. ?? Many thanks & kind regards.
Forum: Fixing WordPress
In reply to: How to Add Social Network Icons to Author Bio/ Single PostsHi, Bigacelloy!
Thanks so much for all of your help. That did the trick. One last thing… how do I get the social icons to appear along the same line with
View all posts by Fantasy | Website (I want the icons to appear here inline)
| | | | | | | | (instead of here on a separate line)
Forum: Fixing WordPress
In reply to: How to Add Social Network Icons to Author Bio/ Single PostsHi!
Thanks for your reply. So how do I edit my code and add what you have created to it so that it works properly when added to my functions file? Yes, I will use font awesome icons instead of links.