Stop Spam Subscriber Accounts Registering on WordPress
…such bogus email addresses mostly from the gmail.com domain like u.nup.p.on.n.a@gmail.com it’s just a bunch of automated spam, do not fear, here’s what to do! Spambots trawling through the net…
Read MoreCreate a Expand/Collapse FAQ Accordion, Collapse other on Click
… Ref http://stackoverflow.com/questions/37745154/only-open-one-accordion-tab-at-one-time http://www.w3schools.com/howto/howto_js_accordion.asp The example I have used, uses different HTML elements than the w3schools example, the reason is more WordPress post editor friendly as the w3schools uses the…
Read MoreImage Carousel Thumbnail Slider with SwiperJS and ACF in WordPress
…you can check out on the SwiperJS site. https://gist.github.com/neilgee/4bdaad5361a89b0818ae79f6de8c2c9c#file-swiperinit-js Build the ACF Gallery Loop Looking at the SwiperJS mark up for html https://gist.github.com/neilgee/4bdaad5361a89b0818ae79f6de8c2c9c#file-swiper-html-html The ACF gallery field code can be…
Read MoreAdd a ‘Continue Shopping’ Button to Woo Commerce Checkout and Cart Page
…https://www.dropbox.com/s/uisjdc7li7q7gy5/return_to_shop_box_position.png?dl=0 Can you please help? Also managed to add the button on the Single Product posts, at single-product.php, but need to fix the position of it as well. I guess…
Read MoreImage Carousel Thumbnail Slider with ACF Gallery Field in WordPress
…shortcode. Template/Function https://gist.github.com/neilgee/e7c85d013e43b8e552659d843839cb4c#file-template-function-php or… Shortcode https://gist.github.com/neilgee/e7c85d013e43b8e552659d843839cb4c#file-lightslider-shortcode-loop-php In both examples the code is basically the same, how the thumbs show is via the ‘data-thumb‘ attribute – if you want just…
Read MoreAdd Search Toggle Icon at End of Menu in WordPress
…items at the end of the targetted menu, add a slideToggle with jQuery for the show/hide effect and a bit of CSS. Targetting the Menu https://gist.github.com/neilgee/4a9fccd79bf5c2307508b1dfa4adb004#file-themelocation-php So in the above…
Read MoreUpgrade MySQL Database from 5.5 to 5.6 on macOS 10.8 Mountain Lion
MySQL version 5.6.14 is available for download for OSX, a double click and install is available named Mac OS X ver. 10.7 (x86, 64-bit), DMG Archive. (Don’t worry about the 10.7…
Read MoreSwap WordPress TwentyTwelve Mobile Menu to Slick Navigation Menu
…In the final step, the newest version of twentytwelve uses ‘.main-navigation’ as the command, not ‘.nav-menu ul’ as described. I found it easier to use the following code: .slicknav_menu {…
Read MoreUse Bootstrap Modals in WordPress Themes
…2 Modal checkboxes. Scroll down and download the custom package zip file which will also include the CSS component of the Modals. Edit and file the CSS and Javascript…
Read MoreUsing Slidebars to Slide In and Out Content in A Genesis Theme
…Make sure you download the older Slidebar version for this tutorial, the new one is completely re-written. These are then enqueued to load in the theme with the above snippet….
Read More