CardwellCodes
Members
-
Joined
-
Last visited
Reputation Activity
-
CardwellCodes reacted to BrowserBugs in Go to ID button scroll effectUm, jQuery is all I sort of know;
$(document).ready(function(){ $(".slideto").click(function(event) { event.preventDefault(); var wh = $(this).attr("href"); var trimmed = wh.substring(1); $("html, body").animate({ scrollTop: $(wh).offset().top - 20}, 1000, function(){ $(wh).focus(); }); }); }); just add the class slideto on the link
-
CardwellCodes reacted to BrowserBugs in Creating Login on HomepageHmmm, looking deeper the form_key is generated and set in the form and in a session cookie and on submit both need to match. When I tested the login process at store.kellyseye.com first time the key was GHsfCa3b7nnOb7Xq, so I killed my cookies for the site and refreshed and it became 7Tjdt8xa5EV4BXro.
Have a look in the login file for store.kellyseye.com, under form_key it would be something like;
<input type="hidden" value="<?php echo $thekey; ?>" name="form_key" /> ... whatever the value is they are inserting there is expected on submit to match the session.
-
Hahaha now that's something to get shipped direct
-
CardwellCodes got a reaction from BrowserBugs in Pleasehelp settle argument on front page bannerOk so the first banner is Clean, Fresh, Modern and Simple. I have Direction and know where to click to purchase the product or find out more.
The second banner does NOT suit the product. Too dark, the colours in the circle stand out in all the wrong ways!
The circle itself looks like it has been drawn in MS Paint. The powder behind the product looks like cocaine.
Personally, the top banner is the best by far. But neither of them strike me as "Professional".
-
CardwellCodes got a reaction from fisicx in HELP: Logo Slider Affecting Testimonials Plugin!I have found an alternative plugin for the logo slider and it now works. Thank you.
-
CardwellCodes got a reaction from fisicx in Simple Lightbox Plugin NOT WorkingI tried the one you built and it worked. Thank you.
-
CardwellCodes reacted to fisicx in Simple Lightbox Plugin NOT WorkingIt probably a configuration thing
Or a conflict with your custom theme
The plugin works: http://testblog.co.uk/image-with-caption-border/
But it is very clunky.
The one I built is much faster and lighter: https://quick-plugins.com/free-things/ultraslim-image-lightbox/
-
CardwellCodes reacted to BrowserBugs in 404 Page LayoutProbably. Just change out with your normal styles like .container etc, the /wp-content/themes/Regal%202018/style.css?ver=4.1.23 is loading in the 404 page
-
CardwellCodes reacted to fisicx in Page titles all "News | Site Name"If you are using the wp_head(); code you can also delete the stylesheet call from your header.php.
This function has a huge lists of default actions and filters helping to make your code a lot neater and cleaner: https://core.trac.wordpress.org/browser/tags/4.9.6/src/wp-includes/default-filters.php
-
CardwellCodes got a reaction from fisicx in Page titles all "News | Site Name"Thank you. The code worked. I will use a more up-to-date theme in future, I am an apprentice and developed the theme based on the one the website was currently using.
-
CardwellCodes reacted to fisicx in Page titles all "News | Site Name"Good. But I'd seriously consider no longer using twentytwelve as the basis for your theme.
Wordpress has gone through a lot of changes in the last 6 years and there are some major updates in the pipeline. Newer themes take advantage of these changes and can incorporate many of the latest functions.
-
CardwellCodes reacted to fisicx in Hamburger Nav Click Event DropdownsDropdown menus work on hovers. That's the whole point of them.
You could try this https://codepen.io/sazzad/pen/pqlgy but it would mean you can no longer use the built in wordpress menu functions.
-
CardwellCodes reacted to fisicx in Uploads won't restore (UpDraftPlus)It means your backup wasn’t working as it should. What you should have done is reinstall the plugin. Deleting a plugin usually doesn’t delete its settings.
ask your host to restore a recent backup.