wordpress

Show a menu item after site fully loaded

I need to show a change language menu item after my WordPress site is fully loaded. I edited the menu item css into my menu item: .my-menu-item { visibility: hidden; } and in my functions.php file i added as follows: add_action( ‘wp_loaded’, ‘menushow’, 99 ); function menushow() { ?> <script type=’text/javascript’> /* <![CDATA[ */ jQuery(window).load(function() { // When the page…
Read more

How Can theme developer add a Custom CSS functionality in wordpress theme option

I’ve done lots of search in Google But Still not able to add the functionality for user where they can add their custom css code. I’ve already added lots functionality for user in the theme. Actually I’m at earlier stage of theme development So Having not much experience in theme development. I asked this que. on stack overflow So that…
Read more

Issues with rss requests coming to website after changing from traditional php designed website to wordpress

I had a previous version of my website designed with traditional php web design. Now, I have changed to wordpress tech. and everything is doing fine but one thing killing my website with rss requests(as an example). and my site responds with non-existing page .. the request is as the following : like shown above all getting non-existing page …..
Read more

Contact Form 7 + Postman + GMAIL

I have Postman working perfectly with GMAIL on a WordPress (latest) site that contains the Jupiter theme. Both standard theme form are emailing perfectly. Postman tests OK from its settings panel. I then installed Conact Form 7 as there is a requirement for more complex data collection from users and it will not work no matter what. I get the…
Read more

Blank page when accessing page in admin

I’m getting a blank page when I click on the page link in the administration in WordPress /wp-admin/edit.php?post_type=page It only happens with pages, all the other post types are fine. I have lots of pages, nearly 2000. Here is what i tried so far without luck: switching to default theme deactivating all plugins deactivating revisions in wp-config Here is some…
Read more

redeclare a custom PHP function

I’m working on a wordpress child theme, I did not work on wordpress a lot but from what i know some function are added to WP them like add_action( ‘init’, ‘rd_share_panel’ ); the function i want to edit ‘rd_share_panel’ is declared in theme files and call as a normal PHP function to output some HTML code, it does not have…
Read more

Change woocommerce shipping cost according to payment gateway

Hello I am trying to change the shipping cost when the cheque payment gateway is selected. The shipping costs are calculated by table rate shipping plugin. Here is the scenario: If customer selects Cheque payment gateway the shipping costs changes to zero(0) on any other payment gateway the shipping stays as it is. Could someone help? Thanks in advance! There…
Read more

Append GLCID to url with JavaScript

Hello everyone So, I have a problem with Google AdWords, and the transferring of the GLCID. A bit of info: I have a site that generates leads, and I need to be able to tell which lead is coming from my AdWords ads. I can track the number of conversions in AdWords and Analytics no problem, but I need to…
Read more

How to install a 2nd WordPress site on subdir

I have to move a WP site to another domain where I already have WP running in the root. Because this is a temporary solution, I don’t want to change the existing WP installation to multisite. I want to keep both sites and DBs separated as I’ll move the site back later. So, in a nutshell, I want to move…
Read more

XAMPP WordPress Install Loads Slowly

Building a WordPress based website on localhost using XAMPP, and am hitting a problem of every refresh to the main webpage taking (at least) 7-8 seconds to load. Aside from a few layout images (and no content), the website is not large as I’ve just started. From what I’ve read others have had a similar problem with no solution as…
Read more