flight1307
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I access The Loop for WooCommerce pages?Of course! Like
<?php get_footer(); get_header(); ?>Haven’t found the template in question yet, but I will. Surely it’s a ‘Vantage’ theme template.
Many thanks, Jaycbrf. 🙂
Forum: Fixing WordPress
In reply to: White rectangle missing in footer of some pagesThank you. Will do.
Forum: Fixing WordPress
In reply to: White rectangle missing in footer of some pagesI’ve been lazy regarding validation and I appreciate your input and technical expertise. I was not aware that asking for help twice in the same thread is a no-no. My apologies. I won’t ask for help more than once in future. There are masses of HTML and CSS validation errors. I’ll go through and correct all. Thank you for your help.
Forum: Fixing WordPress
In reply to: White rectangle missing in footer of some pagesI’m going through the validation. I’m not interested in hiring anyone. Why do I need to hire someone? What do you mean by my time limit and the link to wordpress jobs? Or are you making a joke?
Forum: Fixing WordPress
In reply to: White rectangle missing in footer of some pagesIs there anyone here who can answer my last question, please? I would like to make sense of this issue. I’ve looked at Andrew’s input many times in Dreamweaver locally, but I still don’t see / understand the solution. Many thanks again.
FForum: Fixing WordPress
In reply to: White rectangle missing in footer of some pagesThank you, Andrew! But I don’t see how #wrapper ends up added or missing when it’s not styled into the DIV tags or other HTML on the page. Please explain like I’m being thick. Because I am.
Forum: Fixing WordPress
In reply to: local SSL issue while trying testing with a credit card gatewayResolved, thanks to Webaware!
Forum: Fixing WordPress
In reply to: local SSL issue while trying testing with a credit card gatewayHi Ross
Grateful thanks. It worked!! You are the man, and thank you so much for pointing me the way. Like you, and all developers, it’s such a treat after all the hair pulling, when things just work. Do you have a blog I can follow? It’s been a long day dealing with the CC gateway and with the client, and developing the site, so apologies for the delay in updating you. Much appreciated. Many thanks again.
Cheers mate.
InFlight
Forum: Fixing WordPress
In reply to: local SSL issue while trying testing with a credit card gatewayHi Ross
Thank you for that. I’m in New Zealand and it’s nearly 8 pm and I’m running out of steam. Forgive the blonde question. I’ve skim-read the contents of your link. Is this about buying an SSL? Or is it just about coding? I don’t want to buy SSL yet while I’m still only testing locally. If it’s just coding, and not about money, I’ll get stuck in tomorrow when I’m fresh. Please confirm. Many thanks again. Cheers mate.
InFlight
Forum: Fixing WordPress
In reply to: 'functions.php' questionYes, thank you. It does help. I’ve been following this tutorial:
http://blog.teamtreehouse.com/responsive-wordpress-bootstrap-theme-tutorial
and it’s all working correctly now. It’s much easier to work with Bootstrap alone. When you associate Bootstrap with WordPress, things break and go weird a lot. I don’t want to just drag in a bunch of plugins. I want to understand the coding issues. So it’s good to get a few fundamental mysteries answered, and this has been one. Thank you, Esmi.
Forum: Fixing WordPress
In reply to: functions file makes login screen a blank pageThank you Hiphpinenglish, but that was not the reason. All PHP files were blank PHP files made in Dreamweaver.
Forum: Fixing WordPress
In reply to: Using jQuery to fade out the header and nav barThank you, Andrew. I think I’ve nailed it. It’s a ‘prevent default’ method applied to the anchor tag:
jQuery(document).ready(function($) { console.log('using css and prevent default' ); var fButton = $( '.page_item.page-item-190' ); var header = $( '#access' ); $(fButton).bind('click', function (e) { e.preventDefault(); header.addClass('fadeHeads'); }); });The ‘fadeHeads’ class is CSS applied to the menu. You’re quite right – the page was reloading – but the binding of prevent default stops the page reload on click, and should now allow either CSS or jQuery fades. Many thanks to you and Jose for pointing me the right way. Cheers.
Forum: Fixing WordPress
In reply to: Using jQuery to fade out the header and nav barHi Andrew
Many thanks.,page_item.page-item-190works. But on click – the fade begins – then the Header PHP script overrides the jQuery function and the Header comes back up.
Forum: Fixing WordPress
In reply to: Using jQuery to fade out the header and nav barJose – I hope you’re still around. Half way there. This works in ‘header.php’ with no click function – just the variable executing on the doc ready:
<script type="text/javascript"> // we're in 'header.php' jQuery(document).ready(function($) { var header = $( '#masthead' ); header.fadeOut(); }); </script>but that of course is fading out the header and nav bar site wide because it’s not happening when user clicks on ‘Flash And AS Dev’. The menu item class coming up on ‘Inspect Element’ using Chrome is:
<li class="page_item page-item-190 current_page_item"><a href="http://localhost/wordpress/flash">Flash and Actionscript 3 Development</a></li>so, I’ve tried:
<script type="text/javascript"> // we're in 'header.php' jQuery(document).ready(function($) { var fButton = $( '.page_item page-item-190' ); var header = $( '#masthead' ); $(fButton).click( function(){ console.log('using button Flash for fade'); menu.fadeOut(); header.fadeOut(); } ); }); </script>and I’ve also tried var fButton = $( ‘li .page_item page-item-190’ ); but the click function doesn’t find the nav bar. I’m working locally in Dreamweaver on MAMP and Dreamweaver always auto completes the jQuery ID’s and classes found by the page. But ‘header.php’ does not find that page item ID at all. Any thoughts? Many thanks!
Forum: Fixing WordPress
In reply to: Using jQuery to fade out the header and nav barJose – Many thanks! I see what your getting at. jQuery variables to contain the page IDs. And a click function to address them. I don’t want to use a separate nav bar. I want to do it with ‘Flash And AS Dev’ as a ‘click’ function. Once I’ve made it work – I want to do the SAME THING with the After-Effects and Graphic-Design buttons. So I want this to work with the actual main nav. I will set up a jQuery script in ‘header.php’ in my child theme and report back. Many thanks again.