0
votes
0answers
3 views

Perform a 'refresh' transport or open the site in new tab, after saving the theme in Customizer

Is it possible to perform a 'refresh' transport after saving the theme in Customizer? Can you help me about this? If it is not, then my plan B is just to open the site in new tab after saving the ...
0
votes
0answers
7 views

How to sort search results with a specific category first

I'm using the Zoner theme for Wordpress and would like properties categorized as "featured" to be first on the search/archive page. Is there a way to run the search query twice, such that the first ...
0
votes
0answers
6 views

Redirect when “Log on to reply” is clicked

I have seen this question in the forums and it has been answered, but it is not working for me. I created a new page for a custom login form and managed to get it to show up almost everywhere when ...
0
votes
2answers
8 views

in_category('category-sluga') returns true for Archive page of Category 'category-slugb'

I've got a Category Archive page with name category-slugb.php. I have a sidebar with some Widget Logic that uses in_category('category-sluga'). What's odd is that on this Category Archive page (i.e. ...
-2
votes
0answers
12 views

Parallax background [on hold]

I attached a screenshot of the background image for the parallax background in the avada WP theme I'm using and I can't seem to locate the code to change the size of the background. It's stretched and ...
0
votes
0answers
14 views

Add generic page to WP_Query

I have a query that gets all my custom post types of Service. I need to add a generic page (Classes) to the query so that I can use the orderby argument. I know the ID of the page I need to add. How ...
0
votes
1answer
11 views

On a custom template, should I use wp_footer? [duplicate]

I have started to learn about WP. I was asking myself the other day : should I use, in my custom template, the wp_footer() to call my scripts or should I go with static script? I can't seem to ...
0
votes
1answer
23 views

Inner join overrides Advanced Custom Fields plugin's get_field

I have this search that I made with inner join and where clause. I no longer get get_field() values, they all return false. How can I get ACF to work again? It must be something silly that I don't ...
0
votes
0answers
17 views

Unique display name

I'm trying to make it so that display name has to be unique. Here is what I tried: /* * adding action when user profile is updated */ add_action( 'personal_options_update', 'check_display_name' ); ...
0
votes
0answers
8 views

Changing the image titles generated by WooCommerce import suite

I have built a product catalog using WooCommerce. It will have at least 5,000 products and each product has several variations and a slew of images. Here's my problem: The WooCommerce CSV import suite ...
0
votes
1answer
19 views

How to add div blocks after certain set of post

Ok I broke my post down into different style settings. Like shown below. The first post is a large block. the next four post are small and aligned next to the larger post. I used the loop below to ...
0
votes
2answers
19 views

index.php is always displayed before any file on the URL

When I make click at any file from my website, the URL displays like: www.mywebsite.com/index.php/about-me OR www.mywebsite.com/index.php/references I just want to know if it is normal that ...
0
votes
0answers
7 views

Update title of every instance of widget using text field

I have created a simple widget which looks like this: As there are going to be many instances of this I want to know if it's possible to update the title of each instance (where it says 'Membership ...
0
votes
1answer
15 views

How to create an uploads subfolder on a multisite setup?

I have a plugin which will create a folder inside wp-content/uploads, using this code: //Generate stuff on plugin activation function sample_plugin_activate() { $upload_dir = wp_upload_dir(); ...
0
votes
0answers
19 views

How to solve this script problem in theme directory?

I have a jQuery Ajax call that calls a php script. This call works if the file is in the root of the site but does not work if this php script is in the theme folder . Additionally, I have a 500 error ...
-2
votes
0answers
5 views

wordpress useful and easy widget plugin [on hold]

-hi..I think Wordpress is really great development tool in creating a web page. I saw the below widget tood..looking very useful.. Can i ask what it is/.......??and is there any more useful ...
0
votes
0answers
2 views

Custom Taxonomies Duplicating Into Each Other When Saving Custom Post

I am having an issue with a custom post type with multiple custom taxonomies. When I add the post the custom taxonomies are saving but the items/terms are also duplicating into the other custom ...
0
votes
0answers
16 views

Query posts by switch

I need your help to add a case to a switch in my theme to order posts. My theme uses a query_post: query_posts( $query_string . $orderby ); In the loop to order generated posts. The query uses ...
0
votes
1answer
16 views

I wanna create a custom login form template

I wanna crete a custom login form template basically it's not for default user it's for site visitor who can resgister and login for view any things or a redirect template.
0
votes
1answer
15 views

My Syntax Highlighter Died, What Now?

On my wordpress install (hosted by 1&1) a few years back I installed "Syntax Highlighter for WordPress" (I'm currently at 3.0.83.3) Everything was going great until yesterday when something got ...
0
votes
0answers
11 views

Wordpress: Trying to echo taxonomy slugs of individual downloads, but limit them to the $atts[category] selected from shortcode from post

Note: I'm a reasonable newcomer to .PHP, starting with this project. I understand the concept of it, but I'm not yet skilled enough to figure out what functions I need to use for something a bit ...
-1
votes
0answers
14 views

How to redirect HTTPS to HTTP in WordPress?

I need a bit of Help regarding my site. There are two different versions of my site indexed in Google. https://www.theblackfridaycoupons.com/ and http://www.theblackfridaycoupons.com/ Just ...
0
votes
0answers
9 views

MySQL query in Functions.php using inner join to override/add to search

I'm setting up a radial geo-location search. I have users select a zipcode and a radius to search within. I want to use the regular search site.com?/s=abcd&zipcode=90210&radius=10 I look up ...
0
votes
0answers
15 views

Can't save meta field value if the title not set

I'm using the example from WordPress Codex (https://codex.wordpress.org/Function_Reference/add_meta_box#Procedural) to add and save meta box values. Unfortunately I can't save the value of the meta ...
0
votes
2answers
27 views

Contact Form 7 - Execute code AFTER mail send

i've figured out how to do something BEFORE sending the mail, but i also need an action to happen AFTER it's been send. I tried wpcf7_after_send_mail but with no success... Any help on the matter ...
0
votes
0answers
10 views

create dynamic checkbox in tinymce wordpress editor button

I am trying to create dynamic checkbox in wordpress editor icon button. when i click on icon pop-up is open and i need to create dynamic checkbox.below is the code. where is i am making mistake ...
0
votes
0answers
14 views

External request to Wordpress WP-API - Basic Authentication

I'm trying to hit my Wordpress API using Basic Auth with Guzzle (http tool) from my middleware (Laravel). $username = 'myAdminUserName'; $password = 'myAdminPassword'; $uri = ...
0
votes
0answers
13 views

How to appoint different users to different pages?

I am having this problem, i need to separate subscribers(all one user type) into two different groups with access to different pages, pages restricted to one group is available to another though they ...
0
votes
0answers
63 views

How to debug background/auto update?

We have a very annoying problem with our Unyson plugin. For some users, all extensions are uninstalled automatically on random intervals (#1, #2) and we have no idea why this happens. The only clue is ...
0
votes
0answers
15 views

I' trying to display list of post and next and previous navigation for posts

using ajax in wordpress but i'm not able to get the same thing. here is my code this is my tag.php to display the posts " > <div class="post_text"> ...
1
vote
1answer
33 views

How to Login Once to an Entire WP Multisite Network

Does anyone know of a good plugin that permits logging in once as the WP-MS network Super Admin and being able to switch sites without having to re-login into each network and/or each site ...
0
votes
1answer
15 views

Strings from database are not shown correctly

I created a table in database named (wp_answers) to get the Persian sentences. so I use get_charset_collate. Now the strings in database saved correctly. But when i want to fetch these strings, they ...
0
votes
0answers
13 views

WP_Query relation AND with two taxonomies and orderby rand, prioritising one taxonomy

I have a wp_query which selects posts from a CPT, using relation AND to select posts from two taxonomies (sector and expertise). I would like the order of posts returned to be random but I would still ...
0
votes
3answers
31 views

Custom post type returns bad post ID

I added custom post type and I have first problem. I don't know why but if I use $post->ID, independently of post ID it always gave me the same value. I'm using this function <?php the_post(); ...
0
votes
0answers
5 views

Disable wpautop from individual output of metabox

This is my code: <?php $desc = rwmb_meta('_tb_herocontent_wysiwyg'); remove_filter ($desc, 'wpautop'); echo $desc; ?> But I'm still receiving the <p> tags, any help would be greatly ...
0
votes
1answer
16 views

How to put an external object into WordPress to that occupies most of the available space?

I have a WordPress site. I want to insert into one of its pages another page, written in AngularJS. That page is a Spring Boot system and will be hosted on a different machine than the WordPress page. ...
0
votes
0answers
10 views

Can a taxonomy be used over another taxonomy?

I'm not sure if the title is appropriate. My wordpress site lists restaurants in my city and I'm using two taxonomies 'location' and 'cuisine' for filtering. Is there a way in which I can build a ...
0
votes
0answers
14 views

Trimming of post content leading to some open tags that are distorting the page formatting

I am trying to show post excerpt in my page. However, as the excerpts have not been defined by the writer, i am pulling the post content, and then trimming it to certain characters to form excerpts. ...
-1
votes
0answers
8 views

Query custom post type by taxonomy without running the whole custom post type

This query that I have show all the posts that I have in my books custom post type: <?php query_posts('post_type=books&showposts=-1&order=DESC');?> <?php while (have_posts()) : ...
0
votes
0answers
12 views

Woocommerce skip checkout and paypal payment without register

Anybody have idea about the paypal itegration in woocommerce, I want to manage my product to be sell in one click. User never need to go to cart,checkout process, just needed to click on buy and user ...
0
votes
0answers
24 views

Embed and word Count not working for wp_editor instance

When using the wp_editor() function to have an editor, I do not see the standard word count and am unable to embed files. In the default post editor, word count is shown, and youtube urls are ...
0
votes
0answers
18 views

Wordpress multisite. Portal template

I need some help please, it's been the whole yesterday and today being stuck with this. I had a site, in Wordpress, but then the customer asked for a multisite.... so now, I set up my wordpress with ...
0
votes
1answer
34 views

wpdb query not returning results containing single quotes

I'm using a simple $wpdb query that searches the database for all other posts with the same title as the current one and then displays a link to them on the current post. So if I go to a post titled ...
0
votes
1answer
26 views

structure of posts and pages

I have wordpress website which had some static pages and posts. I want to show pages URL as below: mywebsite.com/PageName1 mywebsite.com/PageName2 ... also I have some posts that will be more in ...
-1
votes
1answer
26 views

Display draft posts on single pages

I made my published post as draft post. It is not showing it in the website blog, but, when i use its URL it is showing "Error 404 - Not Found". but what i want is to show the content of draft post ...
0
votes
0answers
13 views

Woocommerce different language on backend

I have made two languages for backend and frontend. For frontend is default var "WPLANG" and for backend will be "admin_WPLANG". I have made options in woocommerce general settings tab. There is two ...
-1
votes
0answers
19 views

Add simple social icons in header.php

For my social icons I have installed simple social icons module and drag it into the widget area. I have configured the module according to my need now how can I display it on my header.php file?
0
votes
1answer
17 views

Troubles setting up domain

I have looked around but no article or forum seems to help... I have an open shift account and I am attempting to run a word press website. I have set up a domain using cname like it says so in the ...
1
vote
1answer
34 views

How to pass many ids in post__in?

I need to pass many ids to the parameter post__in in args. This not work !!! Help me please. foreach ($rows as $obj) { $todos .= $obj->ID . ","; } $ids = trim(trim($todos), ","); # echo ...
0
votes
1answer
15 views

Add ReWrite from Old Pages to Wordpress (remove .php)

I have a WordPress site that has 4 old .php pages left to run as is. My issue is previous there was a rewrite rule to remove the .php from the URL giving it clean URLs. I tried just adding the same ...

15 30 50 per page