0
votes
1answer
14 views

WP_Query results stored in variables

I'd like to know if there is a way to store WP_Query results in variables that I can then go ahead and insert anywhere on the page outside of the loop. For instance, say I want to get the feature ...
-2
votes
0answers
7 views

How can i display 5 nextgen galery images using custom field

How can I display only 5 images from a gallery (NextGEN Gallery) using an advance custom field. I have this code, but retrieve me all the picture in that gallery, I want only 5. My custom field for ...
0
votes
2answers
22 views

WP Redirect with user nickname/username

I am trying to redirect the user after login/signup to profile page, but I am not sure why is it not putting the user nickname in url. $current_user = wp_get_current_user(); function aloginuser( ...
0
votes
0answers
24 views

Removing A Parent Theme Template

There is a template with code that I want to prevent the child theme from loading. All it does is load a little date box. What i've done is duplicate the hierarchy of that template file located in the ...
0
votes
2answers
44 views

Should I not update the plugin?

I am currently trying to build a website for a client using WordPress for a school project. The client requires a user system with a log in and storage of user permissions and information.I downloaded ...
0
votes
1answer
14 views

Wordpress wp-admin suddenly lost its style

NB: I originally posted this on SO, but I was recommended to try here - sorry for the duplicate! I'm really baffled about this. In the last couple of days (since I was using the site last), my ...
0
votes
1answer
11 views

Why cannot author edit pages?

I have this in my functions.php (child theme) //Add capabilities to author, so he/she can edit... function add_theme_caps() { // gets the author role $role = get_role( 'author' ); ...
0
votes
0answers
8 views

WP Media uploader loading only once in options page

A weird issue happening with me which I am unable to fix. In my theme options page, I added options to upload images one for logo and another for backgroud image. Here is my HTML <table ...
0
votes
1answer
16 views

How to load an assets based on custom field value?

How can I load an asset based on custom field value? - This would be outside of the loop, all I can find for this is in the loop related functions, which I'm not familiar with, or what I find are ...
0
votes
0answers
15 views

meta_query against multiple custom fields

I have a set of ACF custom fields: event_type (values are "single" or "multiple") event_start_date event_end_date (this only shows up if event_type is set to "multiple") I need to be able to show ...
0
votes
1answer
19 views

How to remove /page/2/ from home page?

First of all: I don't understand the meaning or the action that http://myurl/page/2 does? I checked the Net tab in Firebug and saw that my page takes more than 3 seconds to load /page/2... but I ...
0
votes
1answer
11 views

Delete all attachments not used in post?

The site has 14,083 files, at least 3,000 are not used in publications. How do I delete all the images that are not attached to the post?
0
votes
3answers
33 views

How to show only manual / custom excerpts?

I know how to add the more-link in the post editor to show the excerpt of post instead of the full post. In this method excerpts created automatically. If I want to manually enter the excerpt I have ...
0
votes
1answer
25 views

Allow authors to post only in categories they create in WordPress

I'm looking for a way to allow users with an assigned WordPress role (in my case, author) to create new categories and then automatically be restricted to only posting in those categories or the ...
0
votes
0answers
10 views

Unable to update the search.php title

After trying to translate the title string for the search results page, which up to now I was 100% was the search.php file in the theme, which was unsuccessful, I tried hardcoding the string into the ...
-2
votes
1answer
27 views

My Wordpress site hacked with unwanted popups [on hold]

I have a woo-commerce shop on my wordpress but I've been attacked by some kind of hack. As you can see in the image there are lots of popup link on top of my site . How can I clean this ? I do not ...
-2
votes
0answers
54 views

update_post_meta not working in save_post hook

I have this hook: function save_custom_meta_data($post_id, $post, $is_update){ // avoid infinite loop remove_action('save_post_myposttype', 'save_custom_meta_data', 10, 3); $custom_meta_data = ...
0
votes
0answers
20 views

wp_verify_nonce() didn't work in the function

I'm creating link with wp_nonce in GET parameter: $link = esc_url( wp_nonce_url( add_query_arg( 'my_arg', 1 ) , 'product_subscription' ) ); echo '<a href="'. $link .'">'. $link .'</a>'; ...
1
vote
2answers
20 views

Author archive doesn't work

I'm trying to solve an issue on my website : www.jack35mm.fr I didn't make the theme (just bought it), but the thing is : the author archive page doesn't work. I mean : ...
0
votes
0answers
10 views

log in form using a separate database

in the html code i have made this form: <form action="http://www.mySite.co/login.php" method="post"> <fieldset> <p><input type="text" name="uname" placeholder="Name" ...
-1
votes
0answers
9 views

How to Display Min. Price for Variation Products Only for Products From Certain Product Category?

As you already know, starting from Woocommerce 2.1 prices for variation products are shown from min to max price. What I want to do is to display only min price, but only for products from product ...
0
votes
3answers
30 views

How to apply a function if conditon a & b

I want to apply a function if post is updated and if post author id is not 1. For this i tried many functions like <?php if (get_the_modified_time() != get_the_time()) && ( $author_id != 1 ...
0
votes
0answers
16 views

Multi operator in tax_query

I have this code /* TERMS 1 = "ASUS" 2 = "GIGABYTE" 33 = "1151" */ I'm and using query post to get data "tax_query" => array( array( "taxonomy" => "product_cat", ...
-4
votes
0answers
13 views

How to retrieve author of a gravity form single entry from $leadid [on hold]

Suppose I know $leadid, how do i retrieve the user who posted that entry?
-2
votes
1answer
29 views

Unreliable Revolution Slider

I have been having issues with the well-known plugin "Revolution Slider" recently. The vast majority of the time everything is okay but say the 5th time I refresh, the slider will just become a white ...
-4
votes
0answers
9 views

Fullcalendar.io intergraded into wordpress dashboard widget [on hold]

Hello I wanted to know if it was possible to intergrade fullcalendar.io into a Wordpress dashboard widget. is this possible? and i so how do I do so?
0
votes
2answers
25 views

how can I include some custom variable from functions.php?

For example, if I add this code to functions.php: $mysite_address_url="http://my-site.com"; And then add this to one of my .php template files(like index.php or header.php): <?php ...
-3
votes
0answers
21 views

How to create mobile version of my site?

I am kinda newbie so, don't have much knowledge. Please bear with me. how to create mobile version of my site? Its a wordpress site. I was wondering if it can be achieved by using media queries. ...
0
votes
0answers
13 views

Child Theme with multiple css files

I know this is a frequently asked question but I don't resolve it. I have make a child theme of a theme with multiple css file and I'm trying to copy them but I probably don't enqueues css files ...
-3
votes
0answers
13 views

Script to load div with delay

I wish to load my logo first and then with a small delay load the rest of the content of the page. I have tried using this without success. Any help?
-1
votes
0answers
15 views

WSIWYG (tinymice) for woocommrece product tabs

Check the image. what i need is to add WSIWYG for one of woocommerce product tab in that way i can bold & separate lines etc. at the moment this option i need to add a text editor have a ...
-2
votes
0answers
11 views

Breadcrumbs not appearing in Parent relation [on hold]

THE QUESTION IS Breadcrumbs is not showing as expected Like... I 'm creating a page About Us and It has 2 childs DrBilly J hardie and The IClinic but Breadcrumbs appeared this wayv Home>>THE Clinic ...
-4
votes
0answers
18 views

i have a problem with the responsivity of my site [on hold]

i have a problem with a site i built www.hadran.co.il, the site looks good but in the phone it looks very bad. its go left and many more problem, can anybody can go to the page threw the phone and ...
-2
votes
1answer
27 views

Grouped Custom Meta Fields without plugin

I need to add grouped multiple custom metas. I did it with CMBII plugin. But if it's possible, I want to create it without any plugin.
0
votes
0answers
15 views

Modify single-product and move grouped thumbnails (woocommerce)

I would like modify the template to move down grouped product table and display it inline horizontal. My target design Now I call grouped prodcuts by code in functions.php: add_action( ...
-1
votes
0answers
15 views

form id not being applied on front end [on hold]

In the back end, I have <input id="Submit" value="Go" type="submit" id="calcgo"/>, but this does not get saved on the front end, instead showing <input id="Submit" value="Go" ...
-1
votes
0answers
13 views

Dashboard/Reporting Visualization Wordpress Plugin or Theme? [on hold]

Hello WP SE community :) I want to start doing custom reporting/dashboards for our clients and have them view them online. It will pull the data into our database through our API's I want to set ...
-1
votes
0answers
12 views

How to get a custom pretty-url hierarchy area of site that is driven by data in a non-wp table?

I want to create a section of a wp site that uses custom pretty urls to display data from a custom DB table (e.g. 'locations') Example urls: example.com/locations/asia/india ...
-2
votes
1answer
35 views

How to get value from wp_usermeta table in database?

I ad a custom field to registration form: function wooc_extra_register_fields() { <p class="form-row form-row-first"> <label for="billing_cpf"><?php _e( 'CPF', 'woocommerce' ); ?> ...
0
votes
1answer
42 views

Revoke Access to certain user roles and admin pages

I'm building a website with WordPress, but it will be managed by more than 20 persons. What I want is to revoke access to each one without using a plugin. I added in functions.php some code for those ...
0
votes
1answer
21 views

How to add conditionals for IE browsers between certain versions?

I know that wp_script_add_data and wp_style_add_data are the correct functions for adding IE conditionals. For example, this: wp_script_add_data( 'foo', 'conditional', 'lt IE 9' ); Would get you ...
0
votes
1answer
19 views

Pass form input via url variable

I have an input field on the homepage of my site that asks the user to input their email address. When the user clicks the submit button, I would like to redirect them to another page on the site ...
-3
votes
1answer
23 views

Is WooCommerce a Good Solution for a Restaurant Ordering System? [on hold]

I am developing a restaurant site where users can place orders to go or for catering. I really don't want to use a third party service, but I can't seem to find a way to integrate special ...
-1
votes
2answers
19 views

How to run Jetpack related posts feature from localhost?

I set up Jeckpack locally adding define( 'JETPACK_DEV_DEBUG', true); to wp-config.php however the only available option is "Sharing". Is is possible to enable the "display related posts" feature with ...
0
votes
2answers
44 views

Responsive Images Warping

I'm using HB Themes Aegaeus theme and it's great except for the fact that one of the shortcode elements (hb-box) is resizing the images. (Obviously, automatically resizing site elements to fit a ...
0
votes
0answers
8 views

Multisite Woocommerce Price Plugin Help Need

I want to make woocommerce multisite plugin. Which can share price and convert into local currency from main website. Price share based on user desire, not for all products. If someone know about ...
1
vote
2answers
29 views

shortcode_unautop shortcode not functioning

I have made my own theme with shortcodes to WordPress. In my filters I have: remove_filter('the_content', 'wpautop'); add_filter('the_content', 'wpautop', 99); add_filter('the_content', ...
-3
votes
0answers
21 views

Step 3: the Domain Address [on hold]

I'm trying to register for a blog. I went through the first two steps and the third is almost blank. All it says is: Step 3 of 5 / Let's find a domain. / Choose a custom domain, or a free ...
0
votes
0answers
7 views

Bulk change size-full to size-medium in all posts

Is there any way I could change image sizes in my posts? After migrating from Joomla, they are all in size-full and are very huge. I would like to change them into size-medium and pick the correct ...
-1
votes
1answer
25 views

Sync roles across several plugins

Here is the setup: I am implementing Wordpress with two specific plugins: Ultimate Members and Yith Vendors which is a woocommece addon. What I need to do is change a field's data in the database ...

15 30 50 per page