Leo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Why did "Parallelize downloads across hostnames" break?After some time researching this issue to implement parallelize downloads across hostnames on my website I came up with a hack for functions.php — kindly check this gist > https://gist.github.com/leowebdev/dab3e498e68917fb2938 and let me know if this would help you.
Forum: Plugins
In reply to: [Plugin: UberMenu] Extra search icon, unable to find and deletesame problem here!
screenshot > https://imgur.com/a/GaVQp
ubermenu adding a search icon between main menu items, can’t find how to fix it.
Forum: Plugins
In reply to: [Mega Menu by WooRockets.com] Have to click twice on MobileHey Tony,
Did you have a chance to look at it?
Tks,
Leosame here!
Version 3.1.6 same issue
Catchable fatal error: Argument 1 passed to Ctct\Components\Contacts\Contact::create() must be an array, null given, called in /wp-content/plugins/constant-contact-api/vendor/constantcontact/constantcontact/src/Ctct/Services/ContactService.php on line 63 and defined in /wp-content/plugins/constant-contact-api/vendor/constantcontact/constantcontact/src/Ctct/Components/Contacts/Contact.php on line 153
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Publicize – error 32300worked fine. tks bro!
# Rules to disable XML-RPC
# <files xmlrpc.php>
# Order allow,deny
# Deny from all
# </files>forget it bro! I updated the Vamtam Theme and the option is available now.
Forum: Themes and Templates
In reply to: [Emphaino] Functions.php in child themeSimple like that!
Create the file functions.php on your child theme folder Ex. “mytheme-child” and white the php command below:
include_once THEME_DIR.’../mytheme/functions.php’;
Forum: Plugins
In reply to: [WP Store Locator] How to add a search input button to my home page ?Hi,
You should call the jquery in both pages — so paste it on your custom script field at wordpress and use plain html >> you just need an input and a button.
<div> <div class="wpsl-input"><input id="wpsl-search-input1" autocomplete="on" type="text" value=""></div> <div><a>Locate</a></div> </div>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code has now been permanently damaged by the forum’s parser.]
Forum: Plugins
In reply to: [WP Store Locator] How to add a search input button to my home page ?tks bro! here is the code for somebody that may need it
// zip code search (home page)
$(function (){
$(‘#wpsl-search-button1’).click(function() {
var url = ‘/pages/location-search/?zip=’;
var inputURL = $(‘#wpsl-search-input1’).val();
window.location.href = url + inputURL;
return false;
});
});// get parameter and post on location search
$(function (){
$.urlParam = function(name){
var results = new RegExp(‘[\?&]’ + name + ‘=([^&#]*)’).exec(window.location.href);
if (results==null) {
return null;
} else {
return results[1] || 0;
}
}// example.com?zip=01000
$.urlParam(‘zip’); // name// set the default value of a text input field
$(‘#wpsl-search-input’).val(decodeURIComponent($.urlParam(‘zip’)));// delay and click button
setTimeout(function(){
$(‘#wpsl-search-btn’).click();
},2000);
});Forum: Plugins
In reply to: [WP Store Locator] More info and widgetHi Tijmen,
Your plugin is the best! I’d love have this widget — please don’t forget it ??
Leo