0
votes
1answer
29 views

Changing order of db results when encoding to JSON

There is probably a very simple solution to this but I just can't work it out. I am getting some info from the wp database, bypassing WP's built in classes, then echoing the results as encoded JSON ...
0
votes
0answers
12 views

How to Display Subcategories and its Latest Post as sections or modules under the Parent Category

I want to achieve the following: When in the parent category display as follows: Parent Category Title Parent Category Description Child Category #1 Post#1 Post#2 Post#3 Child ...
0
votes
0answers
10 views

Add user role to new user admin notification email

I'm working on a plugin to try and add the user role to the new user admin notification. Just need someone to review the code and see if my approach looks right. It's pretty much the stock code from ...
1
vote
1answer
14 views

Load specific page template based on URI

I have a page template that I want to load, when ever my $_SERVER['REQUEST_URI'] is like this, www.site.com/link/147 where the number 147 will be variable. i.e. I would like a call a page template, ...
0
votes
1answer
13 views

What Role to assign remote site developer?

We have hired a developer who we communicate with via upwork. We want him to be able to make any changes to the site, except to boot us out! Which Role should we assign to him - Admin? If so, is there ...
0
votes
0answers
20 views

Category filter with load more ajax

What I am trying to do is to do an Ajax request to filter posts on category click depending on the category id, then apply load more posts by ajax. Problem: when I fire the ajax call by clicking on ...
0
votes
1answer
16 views

current_user_can('Administrator') does not return true in multisite if user is Administrator but NOT Super Admin

I have a multisite WordPress installation set up, and have a user who is set to an 'Administrator' role on both sites. However, the function current_user_can('Administrator') does not return true when ...
0
votes
0answers
24 views

Sending SMTP mail using a server with self-signed SSL

The problem I need to solve I have a web server in a network where the port 25 is blocked for outgoing traffic, and in order to send emails it is mandatory to obtain an account and use ...
0
votes
0answers
9 views

Countdown Timer to Publish Draft

I am attempting to create a way for specific draft posts to be published after a 36-hour countdown. Basically, the site allows post submissions which are voted on, and the winning post gets ...
0
votes
1answer
14 views

WP_Query always returning the last custom post

I have code that works fine on our live system, and I'm porting it to a new theme. In the new theme, the WP_Query always seems to return the last custom post. My function is: function ...
0
votes
1answer
16 views

Remove links from the_content when using filters wp_trim_excerpt

I'm using wp_trim_excerpt which is working perfectly but I want to strip the links contained in the the_excerpt (using get_the_content), I've looked online and tried many solutions to get the thing to ...
0
votes
1answer
14 views

Get post thumbnail to display favorites

I use this line: echo (the_user_favorites_list($user_id = um_profile_id(), $site_id = null, $include_links = true, $filters = null, $post_thumbnail_id = get_post_thumbnail_id())); to display a ...
0
votes
0answers
11 views

Selective menu is possible?

Is it possible to make selective category or page menu? For example category is Electronics and Sub Categories are ipod, ipad, iphone With regular menus you can choose either whole category ...
0
votes
0answers
13 views

why does my WR Megamenu colums become a long list on ipad [on hold]

I have a website: http://privatequity.biz that has a megamenu on "Learn more". The mega menu looks OK on Desktop or chrome iPad emulator, but on actual iPad the menu columns are displayed one under ...
0
votes
0answers
4 views

Post body's right margin ignored on some browsers when using Twenty Fifteen theme

I haven't been using Wordpress for ages, so this can be deadly simple. But is for sure weird. I have created a deadly simple product showcase using newest version of Wordpress (blog network) and ...
0
votes
0answers
11 views

Numeric values associated to admin menu bar

I'm customizing my admin left hand menu and am having an issue coming up with some of the numbers. I've even gone through the option of counting as I save out my code to confirm their sorting order ...
0
votes
3answers
21 views

Order post by taxonomy

I am trying to write a get_posts() query to retrieve 7 posts per page. The retrieval of these posts are based on 3 different tags, "Featured","Highlighted", and "News". Now the "Featured" post take ...
0
votes
1answer
10 views

Send data to database after redirect (and popping out of iframe)

I am using $wpdb->insert to place form data into a custom database. There a multiple things happening, though. The page that sends the data to the database is caught in an iframe. I know how to get it ...
1
vote
1answer
30 views

How to override a plugin function wrapped in a class?

The class is from someone else's WP plugin and I want to adapt one of the functions from that class (there are more functions). The (edited) original code: class some_class { private function ...
0
votes
1answer
13 views

Using wp-cli can I not query pages by their title?

All of these do the same thing: wp post list --post_type=page wp post list --post_type=page --post_title=dfdsfds wp post list --post_type=page --title=sdfdsf How can I query the post by the title? ...
0
votes
0answers
6 views

Same option_id for 2 options in wp_options?

What does it mean when (according to mySQL Workbench) 2 options have option_id = 0? Just noticed this for unrelated plugin and theme holding very different options.
0
votes
0answers
12 views

Editable PDF that has a submit button that saves the pdf as an attachment

I'm wondering if anyone has had to present an editable pdf that can be saved and submitted from a webpage? I have a careers page that I would like to have users come onto, click a button to open the ...
0
votes
1answer
28 views

Menu disappears with custom post type link

I’m working with Genesis Theme for a while but never got any problems:) This is my first big issue and I dont know how to solve it. I’m making a new website with Custom Post Types and WP All Import ...
0
votes
0answers
26 views

When can a template skip the loop?

I've reached another point with WordPress where something simple is stumping me. In working with an older theme, I have some page templates that do not call the loop. They simply use ...
-3
votes
0answers
12 views

Is there any plugin which shows google adsense report for particular user in wordpress dashboard? [on hold]

I am creating open multiuser wordpress site. where anybody can sign up and start posting just like facebook and every other social network. But I am planning to pay them as per their contribution. ...
0
votes
0answers
14 views

Why does WordPress Customizer return a blank page

I am running WP 3.9.8. When I go to Appearance > Customize I get a bank page and nothing else happens. I use the customizer on other WP installs so I am wondering if it has anything to do with the ...
-2
votes
0answers
15 views

How can I remove just the prices from WooCommerce? [on hold]

I still want the add to cart, but when they checkout, it won't bill anything, just create an order on the backend. Thanks!
-1
votes
1answer
23 views

Show Title/Date/Excerpt of first post & only Title for rest in Query [duplicate]

I need to show 7 posts of a certain category. The first needs to appear as Title / Date / Excerpt. While the others can just be Titles of the posts. Right now I am having trouble with getting the ...
0
votes
0answers
19 views

Next_post_link not working when I try to change text

I am using the following code to navigate through posts within a custom post type. Which is working absolutely fine. <div class="prev-item"> <?php previous_post_link(); ?> ...
-1
votes
0answers
19 views

Country specific stats [on hold]

I love the fact I can see how many countries view my blog but I can't get further insights aside from the country and number of visitors. Is there a possibility or another app which would allow me to ...
1
vote
1answer
22 views

max_input_vars: how many am I using?

I'm processing a large amount of Options in a Wordpress theme. I want to ensure I keep below the default 1000 before hitting a max_input_vars error. Is there a way to test how many 'input_vars' I'm ...
-2
votes
0answers
13 views

Which WordPress Framework to Choose for Fast Development [on hold]

I have been doing WordPress Development from last 2 months. I have watched some wordpress theme and plugin development courses. I am getting good grip of wordpress but still i have to search a lot if ...
0
votes
0answers
12 views

WP Cron does not work on MAMP server

Using PHP 5.5.10 and WordPress 4.3. No matter what, I can not get Wp-cron to work. If I visit wp-cron.php or wp-cron.php?doing_wp_cron it works after a few seconds of waiting. I.e. it echos "Hello". ...
0
votes
0answers
6 views

jquery prettyphoto insert miniatures lightbox and navigation tools

I have a question to ask: why if in jqueryprettyphoto.js if I enter the parameter: hook: 'data-relay', / I can see navigation tools, twitter, facebook but I can not save the picture. however if I ...
1
vote
1answer
16 views

“Deprecated: mysql_connect()” error when installing Roots Bedrock

I'm trying to install Roots Bedrock on my local Windows 7 workstation, and I fail miserably. This is the procedure I've been doing: Cloned the Bedrock project Copied its content in my (empty) ...
0
votes
0answers
13 views

Filter the_content() to add custom figure tags

I'm trying to implment responsive images on my site, and have all the required component parts working, and understand the concepts, but need some help putting them together; Knowing that WordPress ...
0
votes
0answers
4 views

BX Slider Controls Issue [on hold]

I have multiple sliders on one page and every slider is open in pop-up box. For this I am using bx-slider but I encounter a problem that when I open my any of slider first time on page load my control ...
0
votes
1answer
23 views

Allow user to Upload image and manipulate it on the frontend

The site I am working on allows users to post things up for sale. In the form for creating their post, there is a simple file upload field. The problem is that sometimes when users upload images they ...
0
votes
0answers
8 views

Automatic WP Update via SSH not working

I have updating via SSH configured via this guide. It works fine for installing new and updating existing themes, as well as updating plug-ins. When I attempt to update to the latest (4.3) version of ...
0
votes
1answer
32 views

How to create a Top 10 Popular Posts Page?

I need to create a "Popular Posts Page", that shows the Top 10 most viewed posts of all the time, based on the high number of views. Any help?
0
votes
1answer
17 views

How to send password to the new user by email [on hold]

i'm tring to add new user using default form and when marking the ckeckbox,new user is added but password isn't sent to the email, i tried to use wpmandrill plugin but it works for a period and now ...
0
votes
0answers
25 views

2 different templates for 1 query

I have a working query with some custom meta fields (among others ACF Gallery field) which displays news on "News" page. I have also second page named "Gallery" which is quering posts by gallery ...
-1
votes
0answers
27 views

How to show ACF Input fields in front end [on hold]

I want to show ACF custom field in front end. I don't want to show ACF Field value. Also i don't want to show entire ACF form. I just want to show single input field at front end and want to save that ...
1
vote
1answer
28 views

How would I format a query that depends on post parent taxonomy

I'm trying to do a custom query which is outside the scope of a single WP_Query, I think I should be using $wpdb but my SQL is a bit ropey. Also I only need the post IDs returned not post objects. ...
0
votes
1answer
12 views

Plugin has no US english translation file

I'm trying to modify English translations for a The Events Calendar plugin but I'm not able to find the US English translation file. There is only British English. Please have a look: Can it be ...
3
votes
1answer
785 views

Random post, once per day

I have a custom post type 'quotes' and I would like to display a random entry on the homepage each day. This is the code I currently have to display the content: <?php query_posts( ...
0
votes
1answer
34 views

How can I edit comment meta value before it is saved?

I have introduced a custom field in comments form using add_comment_meta() function. I would like to know if there is a way to edit the data of the comment meta just before the post data is saved so ...
-1
votes
0answers
14 views

WP ecommerce migrate to Woo commerce [on hold]

We do have wp ecommerce now we want to make it woo. Can somebody know a possible plugin that allows us to migrate?. it can be export to csv file from wpe then import the csv into woo?
0
votes
0answers
20 views

Localize birthday date in buddypress registration form

I have added a custom filed for buddypress registration form. After that i have installed a plugin which turn all dates in wordpress into my language (farsi). However, it is not applied to buddypress ...
-1
votes
0answers
14 views

Popup that can display a facebook like button [on hold]

It can even be the same code for everyone. Plugin can be free or paid, doesn't matter. Or if possible, a way to do it manually is also appreciated.

15 30 50 per page