Javascript/JQuery

Stack Overflow

I’m using Geomywp. I am using the following shortcode in a hidden tab (tab number 5): [gmw_member_location map_width=100%] When the user clicks the hidden tab the map loads empty. If the user then …

tagged: javascript, jquery, wordpress, google-maps, tabs Jan 5 at 10:45
Stack Overflow

I need to display all children and grandchildren of a parent page, but I want a custom output instead of the standard one given by wp_list_pages(); <?php wp_list_pages( array( ‘…

tagged: wordpress, customization Jan 4 at 19:36
Stack Overflow

is there any plugin or way to achieve like in the below image pls guide me. If i assign “AA, BB, CC users” with “Editor role”, “AA” should not edit “BB’s or CC’s” post or plugin used for “BB or CC …

tagged: wordpress, plugins, posts, user-roles, user-management Jan 5 at 6:52
Stack Overflow

I’m developing a website in which child pages have a section displaying randomly its related pages which are its own siblings. They all have the same parent page. Further explaining: Parent page …

tagged: wordpress, parent-child, children, siblings Jan 4 at 18:01
Stack Overflow

I have 2 questions how come does my css resets after using certain css code? how come products other then on homepage is not showing in the middle on mobile website url : (www.thevapeboys.co.uk) I …

tagged: css, wordpress, woocommerce Jan 5 at 12:38
Stack Overflow

I’m calling image into single.php with the following code to add CSS single.php <? if( has_post_thumbnail( $post_id ) ): ?> <div class=”post-image”> <img src=”<?=…

tagged: php, wordpress, wordpress-theming Jan 5 at 11:07
Stack Overflow

This is a 911; I need to change a WordPress subdomain URL that I created a GoDaddy WP installation to a subdirectory URL. Can’t I just make a folder in my FTP root site folder and transfer the WP …

tagged: wordpress, url, subdomain, subdirectory Jan 5 at 5:04
Stack Overflow

I want to add a javascript file into WordPress but i don’t want to use a plugin or any theme file like functions.php How can i do that? I have already tried using a plugin as well as functions.php, …

tagged: wordpress Jan 5 at 10:26
Stack Overflow

I’m developing a plugin based on WP Rest API and i need to make sure only authorized users access it. I will be providing an API key to authenticate. However, I also want to associate the API key to a …

tagged: wordpress, rest, api Jan 5 at 10:38
Stack Overflow

We have one remote database, but multiple local environments which all have different unique domains eg: localhost:8888, localhost/work/domain.com When working with WordPress, we are looking to use …

tagged: php, database, wordpress, local, environment Jan 4 at 17:32
Stack Overflow

I am currently adding WordPress to a preexisting website. The original site content is to stay the same, so I installed WordPress in a subfolder. So I have: site.com(pre-existing site with a CMS) …

tagged: wordpress, .htaccess, wpml Jan 4 at 19:46
Stack Overflow

I have a client who had a non-WordPress site, with a WordPress blog located in a subfolder /blog/. We launched them a new WordPress site in the root. Unfortunately, all the images in their blog posts …

tagged: wordpress, .htaccess Jan 4 at 17:55
Stack Overflow

In WordPress 4.7 REST API has been integrated even more into core (https://codex.wordpress.org/Version_4.7). Now I have to create a setup where the WordPress page itself has various contents (pages, …

tagged: wordpress, wordpress-rest-api Jan 4 at 19:58
Stack Overflow

I have a WordPess site hosted on Amazon EC2 server, I have some files which have size upto 50-60 MB. So is keeping the post_max_size 64M is recommended? Or maximum how much is recommended?

tagged: wordpress Jan 5 at 12:18
Stack Overflow

I’m trying to solve a problem at hand, I don’t really know PHP nor WordPress, just what I’ve got in a couple of hours. I know a little of webapp2 with Python, so the WordPress event driven style is …

tagged: php, wordpress, post Jan 5 at 4:59
Stack Overflow

My website got hacked a few weeks ago and now I’m on the stage of removing all spammy links from my page. Some of them are 301 redirects to legit webpages of my site, which is affecting my SEO. …

tagged: wordpress, apache, .htaccess, seo, http-status-code-404 Jan 5 at 12:06
Stack Overflow

I am very new to WordPress, and have created an e-commerce store with WooCommerce. After the customer places an order, I get an email and the customer get an email- one for me to say what they have …

tagged: php, wordpress, woocommerce, orders, email-notifications Jan 4 at 22:25
Stack Overflow

I just was wondering why people do something like : function world_func() { return ‘world’; } add_action(‘hello’,world_func); Instead of : add_action(‘hello’,function(){ return ‘world’; }); …

tagged: php, wordpress, function, variables Jan 5 at 11:02
Stack Overflow

I’m using WordPress and trying to replace the content of a div using JQuery – that bit works. However the content has a URL in it and it isn’t working and I cannot see why. I’m generating a variable …

tagged: php, jquery, html, wordpress Jan 5 at 12:04
Stack Overflow

I have two different WordPress websites on one remote live server: Site1 and Site2 on the same server. Site2 was done by other developer. On Site1 when I save a text with some special UTF-8 …

tagged: php, wordpress, encoding, utf-8, character-encoding