-1
votes
0answers
4 views

Adding fields to woocommerce's posting and checkout process

I like to add couple of radio buttons to WooCommerce's posting process where user has to select between two statements. Upon selecting statement A for example, user will need to select from a ...
0
votes
1answer
326 views

function triggered by “manage_users_custom_column” filter not working

I am trying to add a custom column un users.php but it stays empty. I have successfully added a column to the users admin page with this code in my theme's functions.php file: function ...
0
votes
0answers
3 views

Nothing works with integration mediamaneger into metaboxes

When I try to put button upload an image nothing happens. what's wrong with this? I put meta-box-image.js into my folder in my theme add_action( 'admin_enqueue_scripts', 'prfx_image_enqueue' ); ...
0
votes
2answers
375 views

Absolute paths in backend for plugins after moving wordpress

I wanted to move my wordpress from www.domain.com/old-name to www.domain.com/new-name. I thought that this is no problem and I missed backing up... Now if your are logged in into the dashboard the ...
0
votes
2answers
2k views

Need help changing back the correct wordpress url

Hello I've just recently installed wordpress today on a development linux server. Everything seemed ok until when I stupidly changed the wordpress url. Initailly it was just http://localhost/ but I ...
0
votes
1answer
8 views

Style a category from category list

This is my previous question Wrap a chosen category name with div which I made a mistake on the question, however I got the correct answer. But thats not what I needed. Currently, I'm using this code ...
-1
votes
0answers
10 views

How do I show/hide a post description or any other field on the front end

how can I control an in individual post field to appear or not to appear on the front/end with a checkbox - hide from front end. E.g. like in this mockup - http://screencast.com/t/Q71rxUcxOrx Thanks ...
0
votes
0answers
9 views

Product ID Permalink

i want to use permalink like this on woocommerce: http://www.mywebsitename.com/shop/product-category/product-subcategory/product-id/sample-product/ Shop base with category then sub category plus ...
0
votes
0answers
5 views

Code to display category-specific single.php is overriding normal single.php, too

I have two different post type categories on the site I'm building at the moment - "press" and "blog". I used the following code, inserted in my child theme's functions.php file, to get the "press" ...
1
vote
1answer
337 views

Walker_Nav_Menu doesn't work in wp_page_menu_args filter

I need to hide certain nav items from the menu (based on the password protection functionality) and I'm having trouble getting my custom Walker to work. In fact, I can't even get the standard ...
0
votes
0answers
4 views

WordPress custom meta box using OOP way doesn't save data

This is the first time I'm building meta box using OOP way, the problem is when I save the post (product) or update it the input text is not saved to the database. Here is my code: <?php /** * ...
2
votes
2answers
697 views

wp_nav_menu() mark current item ancestor of custom post type

This solution does almost what I want it to. Only thing is, I have my menu set up as follows: Menu item 1 Menu item 2 Custom post type 1 Custom post type 2 Custom post type 3 Menu item 3 ...
3
votes
1answer
1k views

add_query_vars and add_rewrite_rules

I am looking for some clarity on what add_rewrite_rules does. If I type in, or submit variables from a form, is it supposed to change the query variables to the pretty url? Currently when I type in ...
1
vote
0answers
14 views

Block Wordpress Updates by Server

I've a server and I want to block all the Wordpress Sites Updates Notification (more than 150). I know there is a option in wp-config.php but I want to block all the updates. I put in hosts ...
0
votes
0answers
13 views

What add_action reference should I be using or should I use do_action?

I am working on some automated emails. I am fairly new to add_action and do_action. I am having a tough time understanding it. The site in question has number goals set up that people reach over ...
0
votes
0answers
4 views

Using a plugin to repeat/extend a function in another plugin

I have a WooCommerce/Gravity Form plugin that uses the following line to add an options metabox to the editor page of a WooCommerce product: add_meta_box( 'woocommerce-gravityforms-meta', __( ...
2
votes
1answer
314 views

Custom Post Type order by modified date and custom meta field issue

I'm creating a plugin with some kind of offers that users can publish. User, in his custom administration panel, can managed his own offers. Offers are free and premium. If offer is premium it take ...
0
votes
0answers
11 views

optional way of displaying plugin output on pages other than shortcode?

Currently if I want to display my plugin output I would have to use a shortcode on a page. Instead I want to to have an option in my settings page that has a drop down of all the pages on my wp site ...
0
votes
1answer
10 views

Custom plugin for client, release in repository?

There is a business who has approached me and asked for an estimate for a project which involves converting their existing site one-page site into a WP site. Part of the functionality they require ...
0
votes
1answer
4k views

How can items be programatically removed from Woocommerce shopping cart

How can items be programatically removed from Woocommerce shopping cart without refreshing the page - ie using AJAX?
0
votes
0answers
8 views

Why my htaccess file autoreset?

Im using wordpress in a VPS server and Im having this issue for a couple of weeks. The thing is that my htaccess file get blank (with no info) every 1 or 2 days. When this happen, all the links get ...
0
votes
1answer
318 views

Can you link custom post types to pages?

The reason i ask is because when i create pages they don't insert the usual name of the post type like CPT's do. For example if i create a page called toyota the URL would be ...
0
votes
1answer
16 views

Filtering custom posts by custom fields (ACF)

I'm working on a site with photo contests. Each contest has a lot of additional info, which I store in custom fields (thanks to Advanced Custom Fields). Now I want to search through contests filtering ...
0
votes
2answers
313 views

WP Theme Development, Adding Content Areas to Custom Page Template

I am not sure how to ask this, which is why I have been having trouble finding anything via google searches. I am hoping someone here will understand what I am looking for and be able to direct me to ...
0
votes
0answers
10 views

Make the latest listings shortcode get only 1 listing, instead of 10 specified by plugin (Wordpress business directory plugin)

I'm using wordpress business directory plugin (https://wordpress.org/plugins/business-directory-plugin/), the shortcode [WPBUSDIRMANMVIEWLISTINGS category=98] get all the latest listings of category ...
-1
votes
0answers
13 views

Who are the top Drupal to Wordpress migration firms? [on hold]

My site (wisebread.com) is a blog/magazine with over 7,000 articles and 2 million pageviews a month. We're currently running Drupal 6. We're considering a migration to Wordpress. A migration to ...
0
votes
1answer
24 views

What is wrong with my WP_Query Arguments?

In my single.php file I am using a nested WP_Query to show more posts, at the bottom of the page. My code for the query and nested loop are as follows: <?php $ep_args = array( ...
0
votes
0answers
8 views

Plugin Css and Js files not working on my custom theme [on hold]

Hi i developed own wordpress theme. But i have problem my theme don't show css and js files of plugins which are i used on my blog. What and how i can do something for all plugins automaticly works ...
-1
votes
0answers
10 views

Storefront theme: Padding issue in header

Got a problem with the WooCommerce Storefront theme and the header {http://biz170.inmotionhosting.com/~bertha5/}. It's just the padding between the top bar and the area with the logo and MailChimp ...
0
votes
1answer
461 views

I need to assign a role to visitors/guests

Is there a way to create a 'role' in wordpress for a guest? I am using a role visibility plugin which lets me choose the type of visibility to each rule. However a Guest hasn't got a role. I can ...
0
votes
1answer
6 views

Get attachment images does not return any attached images

According to WP codex the code copied below will return a list of images attached to a "page". I have yet see this happen and I'm at a complete loss as to why: I have created a template page called ...
0
votes
0answers
12 views

Search URL gives 404

I have search URL that looks like this /?s=term //this works But when I click on a pagination link to go to second page I get this /page/2/?s=term //this gives 404 When I manually enter this ...
0
votes
2answers
530 views

AJAX request not routing through proxy

I've built a plugin that uses AJAX to post a URL to the URL2PNG API and bring back a screenshot into WordPress via wp_remote_get. It works beautifully in my development environment. In production, ...
0
votes
2answers
38 views

WP_Query a custom field value bringing back 0 results

I am trying to do a query to grab all the pages that have the tickbox checked "feature_on_front_page" which has the value "featured" with label "Featured". I added this checkbox with ACF. My query ...
1
vote
1answer
610 views

save_post hook not triggered in WP v3.6.1

I developed a plugin having a custom metabox that is using the save_post hook to store data. The plugin is 18 months old and is used by thousands of customers, so I'm pretty sure everything is good. ...
0
votes
0answers
7 views

How to translate .POT files?

How can I translate .POT file, It is an empty file so, I have to import strings, How can I do so? I use POEdit.
0
votes
1answer
17 views

Wrap a chosen category name with div

I'm trying to wrap a category name in a post with a div. This is how i get the category name I need. Reference Links : https://codex.wordpress.org/Function_Reference/get_term_by ...
0
votes
0answers
7 views

Disable iframe in wordpress catch_that_image

I want to ask how to fix catch_that_image in wordpress ? I'm using code in wp-content/themes/name/functions.php function catch_that_image() { global $post, $posts; $first_img = ''; ob_start(); ...
0
votes
2answers
17 views

Get image from one page and show/add it on another page

We have one custom requirement that when we add an image (suppose a car image) in the homepage, after that when I'm creating a new page, I always want that car image to appear on the right hand side ...
0
votes
0answers
12 views

If select bulleted list in post editor it displays a decimal list. How to solve?

In the wordpress post editor, there are options to use a bulleted list or a numbered list. If I choose bulleted list, I get a numbered list. I get a numbered list when I select numbered list. In my ...
0
votes
2answers
397 views

Bulk move (or copy) from a custom field to the post content?

I need to move (or copy) the contents of a custom field into the main post body, replacing any existing content. I need to do this for a few hundred posts...Is there a quick way of doing this? I can ...
0
votes
0answers
6 views

How can I hook and edit on the fly an image uploaded

I'm new in wordpress plugin development and I'm trying to hook my function to one of wordpress's upload / attachements functions. My target is to: - hook to wordpress function (I've tried: ...
0
votes
0answers
18 views

Category Page showing all posts

I created a menu for my categories. (Some links have sub menus). I added this to the top of my index.php page <?php wp_nav_menu(array('theme_location' => 'lib-menu', 'container_class' => ...
0
votes
0answers
16 views

Why some very popular plugins doesn't work with child themes [on hold]

Every WordPress user know what Child Theme is. https://codex.wordpress.org/Child_Themes. I can't configure templates of some plugin(for example Sabai Discuss) in child theme, it doesn't effect(see the ...
-1
votes
0answers
8 views
1
vote
2answers
58 views

Disallow second login session

I am trying to find a solution for 2 months now but unfortunately I came up with no results. I have a subscription based website which streams music. What customers basically buy is a "panel" where ...
1
vote
2answers
626 views

3 blogs on one site with the same header menu?

Person X has default SITE with an integral blog. Person X also has SITE 2 with Blog 2 and also SITE 3 with Blog 3. Is it possible to have on the DEFAULT SITE HEADER MENU something like this: HOME ...
0
votes
1answer
529 views

how to logout user on browser tab or window closes

How to logout a user when he closes the tab/window ? If no, it is possible to clear the session after specific time? How to do that?
11
votes
6answers
23k views

How to correctly include jquery-ui effects on wordpress

I've been trying to include the jquery ui effects (more specifically the shake effect) on my wordpress theme. So far, I've only been able to include the jQuery script, but I really have no clue where ...
0
votes
3answers
413 views

WordPress Multisite and S2Member - How to add new users to all blogs?

We have WordPress setup to run as Multisite and are using the S2Member plugin. We are also using a modified version of the 'Multisite User Management' plugin. The Multisite User Management has a ...

15 30 50 per page