madebymt
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: custom post to cart won’t update (cookie issue)@jaycbrf
Thank you for your responding.
It uses WP function create custom post type and writing PHP function to add an item to the cart page, it’s not from the third-party plugin. (It does have the advance custom field for product info to display.)If anyone has any suggestion please let me know.
Big Thanks!Forum: Fixing WordPress
In reply to: page header image with custom post typeI find out I put
<?php wp_reset_query(); ?>
the issue will be gone. Hope that help.Forum: Fixing WordPress
In reply to: site is working, but can’t login to dashboard@moonsloth sorry for the late response. Thank you for taking time responding to my question.
I basically tried it all, and use file <?php phpinfo?> to check server information, and find out it’s running PHP 7, which is not support older version of the WP. So I downgrade the server PHP, then I can get in to upgrade WP.Thank you so much!
Forum: Fixing WordPress
In reply to: page header image with custom post typeI try to change my footer.php if else code. but doesn’t work for my current template
if(is_category()): $cat_id=get_cat_id(single_cat_title('',false)); $img=get_option("taxonomy_".$cat_id); $url=$img['img']; else: global $post; $post_id = $post->ID; if(has_post_thumbnail($post_id)): $url=wp_get_attachment_url(get_post_thumbnail_id($post_id)); /*code I add*/ elseif(is_page(886)): $url=get_template_directory_uri().'/img/banner.jpg'; /* end of code I add*/ else: $url=get_template_directory_uri().'/img/banner.jpg'; endif; endif; ?>
Thank you
- This reply was modified 6 years, 4 months ago by madebymt.
Forum: Fixing WordPress
In reply to: Can’t access wp-admin.phpI have the same issue, the site is working, but I can’t login to get in the admin page. Anyone know how to fix it?
Forum: Developing with WordPress
In reply to: get_template_part is not working correctly.@jakept
Thanks again for your response.
I got it! It’s advanced custom field problem
Thank you so much!Forum: Developing with WordPress
In reply to: get_template_part is not working correctly.Not quite sure what you mean.
Thanks!Forum: Developing with WordPress
In reply to: get_template_part is not working correctly.Thank you for the comment. here’s my template sign up page code, there’s no loop, so I not sure about reset query.
Correct one image:https://ibb.co/hNR0qx
But show up like this:https://ibb.co/kbN6VxThank you so much for your help!
<?php $sign_up_title = get_field('sign_up_title'); $sign_up_intro = get_field('sign_up_intro'); $sign_up_form = get_field('sign_up_form'); $button_text_top = get_field('button_text_top'); ?> <div class="div-block-17"> <div class="container div-block-16 home-signup"> <div class="row" style="background:none;"> <div class="col-sm-8"> <p class="lead"> <strong class="signup"><?php echo $sign_up_title;?></strong> <?php echo $sign_up_intro;?> </p> </div> <!-- end col --> <div class="col-sm-4"> <button class="btn btn-success btn-lg btn-block" data-toggle="modal" data-target="#myModal"> <?php echo $button_text_top;?> </button> </div> <!-- end col --> </div> <!-- row --> </div> </div> <!-- Modal wrapper --> <div class="modal fade" id="myModal"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span> </button> <h4 class="modal-title" id="myModalLabel"> <i class="fa fa-envelope"></i> Download this cool Toolkit PDF</h4> </div> <!-- modal-header --> <div class="modal-body"> <p>Simply enter your name and email! As a thank you for joining us, we're going to give you one of our best-selling courses, <em>for free!</em></p> <?php echo $sign_up_form;?> <hr> <p> <small>By providing your email you consent to receiving occasional promotional emails & newsletters. <br>No Spam. Just good stuff. We respect your privacy & you may unsubscribe at any time.</small> </p> </div> <!-- modal-body --> </div> <!-- modal-content --> </div> <!-- modal-dialog --> </div> <!-- modal -->
Forum: Developing with WordPress
In reply to: get_template_part is not working correctly.Thanks for your response.
I think it does link correct, because there no error, and did show some part of my content, but not all.Correct one image:https://ibb.co/hNR0qx
But show up like this:https://ibb.co/kbN6VxForum: Fixing WordPress
In reply to: my sidebar and comment style@alchymyth
Thank you, that’s true! Thank you for your response.
Have a good one!Ruby
Forum: Fixing WordPress
In reply to: WordPress form error when I build themeHi Everyone!
If anyone knows how to fix it, please let me know.
Big thanks!Forum: Developing with WordPress
In reply to: Blog post page feature image@alchymyth
Work like a charm, thank you so much!Forum: Fixing WordPress
In reply to: thumbnail image animationHi @leadsoft
Thank you for that awesome video, really appreciated that, super helpful!
My transition work, but not working on scroll view with my original setup.Thank you so much for your help!
Forum: Fixing WordPress
In reply to: thumbnail image animationHi @leadsoft
Thank you for your response, it works on my regular index.html page, so I don’t know why it won’t show up, even I tried other css, it won’t have animation.Like this:
transform: translate(350px,0); -webkit-transform: translate(350px,0); /** Chrome & Safari **/ -o-transform: translate(350px,0); /** Opera **/ -moz-transform: translate(350px,0); /** Firefox **/
Thank you.
Forum: Fixing WordPress
In reply to: img scr adding phpThank you so much! I didn’t realize, I just use to they wrap with the <div> or some other element.
Thank you.