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
5 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
18 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
6 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
14 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
13 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
12 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
8 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
19 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
6 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
12 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
12 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
44 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
14 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
16 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 site individually? Thanks
0
votes
1answer
13 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
12 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
30 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
15 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
6 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
11 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
25 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
12 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
32 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 ...
1
vote
1answer
43 views

How to use WP_Query to display many posts?

This is my WP_Query instruction but this not work. This display just first post. Help me please? // WP_Query arguments $args = array ( 'post_type' => 'teachers', 'p' => ...
0
votes
0answers
8 views

one registrion for two sites

we are running an affiliate program called post affiliate pro. Our users register here. We want our users to register here and then be able to use our website as well. Is there a plugin for this??? ...
0
votes
0answers
20 views

how to use two permalinks for one custom post type

I have a custom post type "article" where posts have a permalink structure (www.mysite.com/article/post-name). I need each post in it to have two different templates according to its permalinks: the ...
0
votes
2answers
42 views

How do I visit archive-post.php?

I have a simple file with the loop in it to get all posts called archive-post.php, but I'm not sure how I get to it in the URL? http://www.examples.com/post/ gives me a 404 How can I see the archive ...
0
votes
2answers
21 views

How to get related category/categories in WordPress archive page

I am using WooCommerce in WordPress. I have few categories of products like these, Example: Product 1 Category (//parent) -- Category 1 -- Category 2 -- Category 3 -- Category 4 Product 2 Category ...
0
votes
1answer
21 views

Remove all link title attributes

After reading this and this, I want to remove the title attribute from all links of my blog, as that is good from accessibility point of view. How this can be achieved? UPDATE I found a solution how ...
-1
votes
0answers
16 views

Where to find a similar looking WordPress theme? [on hold]

I'm having a very old website at http://www.apfcpanels.com/ which is static XHTML with some PHP for header/footer/sidebar, contact page and newsletter subscription in footer. Otherwise its a static ...

15 30 50 per page