-1
votes
0answers
3 views

Wordpress plugin to post to Facebook (or other social media accounts)

I have previously used an email marketing solution which included a social area where i could write a post, and post it directly to my Facebook/Twitter page. I am working on a extranet style website ...
0
votes
0answers
5 views

Delete single meta row from multiple meta rows under same key of a post

I'm storing meta data for my posts using a single key, so it's creating multiple meta data. <?php $data = array( 'user_id' => $user_id, 'message' => $message ); add_post_meta( $post_id, '...
0
votes
0answers
2 views

Make Wordpress wp_delete_attachment delete files from a pre-defined custom folder

We have created a custom post type which allows our client to upload files to a folder outside of the standard Wordpress uploads folder (wp-content/upload-assets). These files are to be handled ...
0
votes
0answers
3 views

How can I give a user the right to edit pages, which however need to be approved first?

I'm trying to give a user the right to edit pages. However the standard "editor" role in Wordpress give the user the right to publish such changes immediately. Is it possible to let someone edit pages,...
0
votes
0answers
5 views

How to combine get_users() + get_user_meta() in function usort_reorder($a,$b)

In admin I have a plugin that needs to list some userdata + usermetadata. I got a solution with a foreach. The output is indeed userdata + usermetadata. But to list the data I need it with the ...
0
votes
0answers
5 views

How do I redirect a permalink for a Draft post to a custom 404 page?

My users create posts with links to future posts which are in Draft status. We use Post Name as our permalink structure. When the users click the links they are directed to the Drafts for editing. Eg....
0
votes
0answers
8 views

Create users via PHP

I'd like to update my users list with some user from a csv file generated by another database (witch i can access too) i'd like to create dynamically a user (with username, password and so on) and ...
-2
votes
0answers
7 views

Shipping Calculator to recalculate totals via AJAX on selection of payment Gateway

I have designed a plugin for my website which calculates shipping costs dynamically from an external API based on the Pin code, weight & whether Cash on delivery is required or not. The entire ...
0
votes
0answers
18 views

Site showing 500 internal server error

My site is showing a 500 (Internal Server Error) which is disabling me from being able to make my desired customizations to it. I've looked online and tried some of the solutions that I found but ...
0
votes
0answers
11 views

Dynamic select box for tinymce option

I have a functioning tinymce button and want to add a selectbox with options for 1-100. I tried 'values': build_percentage_options(), function build_percentage_options() { var result = []; ...
0
votes
1answer
14 views

How to show recent comments on WordPress homepage with post title?

I want to show 10 recent comments along with post titles on WordPress blog homepage. For this purpose, I am searching since last two days but I am unable to find any solution, Can somebody tell me how ...
1
vote
1answer
17 views

Show next / previous text (button) all the time

As you see this pagination. there is no "pre" button or text. because there is no previous posts. ( http://prntscr.com/bmuui2 ) However I want to show the buttons (previous / next ) even if there is ...
0
votes
0answers
6 views

Random HTTPs redirections at admin area in shared hosting

While editing or writing a new post, sometimes I get redirected to the following address: https://www.examplesite.com/wp-login.php?redirect_to=https://www.examplesite.com/wp-admin/edit.php&reauth=...
0
votes
1answer
7 views

Exclude page from loop results

I am having difficulties excluding a specific page from my main index loop in my child theme. I have the following function found in functions.php that modifies my index.php loop so that it displays ...
0
votes
0answers
11 views

custom post type URL change

At the moment, the urls for my movies post type look like .com/movies/ryi2NKR5ZY4DCNWG0XPj/ I got the 20 character hash in there by making the post name the hash like this: function ...
0
votes
0answers
15 views

Reorder WordPress Admin Menu - Ignore Plugin Menu Position

I've been working on reordering my admin menu, but I need some help, Currently, I have a plugin active on my site called Clientside, it's a WordPress admin dashboard theme. My issue is that the view ...
0
votes
2answers
27 views

Add valid XHTML closing img tags to Wordpress galleries?

Default wordpress galleries img tags close with invalid XHTML and the lazyload XT plugin that I'm using targets valid XHTML img tags which means ending should be: <img src="http://www....
0
votes
0answers
12 views

Add Second Custom Fields in Comment Form

i successfully add 1st custom field in comments form with name of "rate".. now i'm trying to add 2nd field with name of "rating" but fail. 2nd Field not showing in form after editing this code Need ...
0
votes
0answers
6 views

Timber, get an arbitrary permalink?

I have an array of post IDs that I'd like to retrieve the permalink for... is there a way to do this in timber? I have tried: {{ blog_post.link|e('url') }} and {{ blog_post.get_path|e('url') }} ...
0
votes
0answers
4 views

Edit “Buddypress Group Extras” page with Visual Composer

I have been trying to figure out a way to allow Visual Composer to edit the Groups Page but cannot get it to work. I checked the Role Manager>Post Type settings and cannot see Group Pages as an option....
0
votes
0answers
10 views

Different strategies for integrating users from non-WP app?

TL;DR: What strategy do you think is best for integrating logins/users from a non-WP PHP application with Wordpress? (Cliche alert) I would like to use Wordpress (new install) as a frontpage/news/CMS ...
0
votes
1answer
12 views

I can't change permalink in Wordpress 4.5.3

I have trouble with my site. I use latest version of Wordpress, but when I try to change post permalink then I haven't any result. Change link dialog isn't showing. Simply nothing happens :( No errors,...
0
votes
0answers
9 views

Rewrite url for two custom taxonomy of one custom post type

I have a custom post type 'courses'. To this custom post, I have two custom taxonomies. - course category(slug is course_category) - other category(slug is other_category). I want to display the ...
0
votes
1answer
18 views

“Publish immediately” with custom post status

I've registered a custom post status 'Editing'. Whenever a post is changed to use that status, the Publish time is set to the time the status was changed rather than 'Immediately'. This is ...
0
votes
1answer
8 views

“-2” Being added to end of URL (no duplicate pages, no pages in trash)

I have a page called "Orlando" and for some reason the page url is /orlando-2/. I have never made another "Orlando" page on this site and there are no pages living in the trash. There is also no other ...
0
votes
1answer
21 views

Shortcodes don't in my theme

My theme doesn't display any shortcodes. I'm trying to add sliders in my posts... they need shortcodes so they aren't working as well. How can I fix that? www.ahseamodapega.com.br
0
votes
0answers
11 views

Wordpress Multisite - configuring a local development copy

I've just inherited a word press project that has been configured as a word press multi site. I typically just place the word press installation into a sub folder on my wamp server for development ...
-2
votes
0answers
15 views

How to erase a theme FOOTER | promo part?

I would like to erase the first line of my footer but I csn't do it with simple edits plugin. Do I have to modify my function.php file then ? If yes, what do I remove from it ? Thanks !
0
votes
1answer
13 views

Main site single-property.php design, as homepage of a multisite

I've been researching how to do this for some time now, and I'm coming up short. I have my main blog, example.com, which we've created a custom post type of Property. I'm needing the exact layout and ...
-2
votes
0answers
14 views

Wordpress theme Impreza: Menu not showing when I'm logged out from WP

I'm using WP theme Impreza. Problem is menu doesn't show when I'm logged out. When I'm logged in menu is showing.
0
votes
0answers
9 views

How to require match for all arguments passed in URL?

I'm developing a site for a small car dealership with a proposed URL schema of domain.com/vehicles/<manufacturer>/<vin>. The Problem I can't get Wordpress to correctly handle when URL ...
1
vote
0answers
16 views

Localhost to Staging to Development Dynamic WP-CONFIG

I am trying to setup 3 environments: Localhost, Staging and Development. The issue is that each environment has its own db. We want to have ONE config file which will dynamically change the Db ...
5
votes
2answers
234 views

Remove update nags for non-admins

I'm trying to remove or hide the update nags for non-admin users. As an admin, I see: The popular answer I've seen to handle this says to use: function hide_update_nag() { if ( !...
0
votes
0answers
10 views

Social Wall plugin GETs are filling up httpd logs

Six months ago I set up a WordPress installation for an intranet. It worked fine until a few weeks ago, when the MySQL server started crashing. Perhaps is unrelated, but by looking at the httpd ...
1
vote
2answers
15 views

Get users in query and limit user output to five in random order

In the footer.php I show all the authors of my blog with the following code: $args = array( 'meta_key' => 'last_name', 'orderby' => 'meta_value', 'order' => 'ASC' ); // Create ...
-2
votes
0answers
11 views
0
votes
0answers
13 views

Inserting jQuery into a custom page

I have made a custom front page, code below. <?php /* Template Name: Front Page Custom */ ?> <?php get_header(); ?> <body class="custom-front-page"> <div id="cfp-...
0
votes
0answers
18 views

W3 Total Cache + CloudFlare + EC2 instance, Settings do not persist

I have a WordPress blog managed by EC2 istance. I use W3 Total Cache + CloudFlare extension and they works with any problem until EC2 doesn't switch on new istances. When it did that, all W3 Total ...
0
votes
1answer
24 views

how to get list of all users + there metadata

How do I get a list of all users with role = 'Customers' including all the metadata per user, means wp_users + wp_usermeta. Query below does not generate the wanted results. $query = "SELECT * ...
0
votes
0answers
16 views

Secondary navigation with children and grandchildren pages

I am trying to get a navbar working which has two parts. One main part at the top of the page and one part in a sidebar-like column on the left. The navigation in the "sidebar" shows all the children ...
0
votes
0answers
11 views

Create a dynamic post for 404 page before the_post()

I am creating a theory for importing my legacy posts from other CMS and bring it to WordPress, for this thing, I am sending a request to second CMS api, and get JSON if there is a post with current ...
0
votes
1answer
17 views

Order or Orderby in tax_query (How to define order of terms in WP_Query)

I am trying to work out how I can define the order of terms in my WP_QUERY. I am creating a knowledge base. I have a CPT called knowledge-base and a taxonomy called topics. My code outputs all of ...
-3
votes
1answer
11 views

Make the Wordpress site in Multilanguage

I have a WordPress site and this is in English and i want to make the same website in German. I have bought a theme from themeforest and Lifeline theme is activated on it. How can I make my website ...

15 30 50 per page