0
votes
0answers
18 views

Hooking to APIs working on WP_Posts

I'm working on a WP site, and I've found a plugin that I can use to do most of the work. But there is a problem: as I feared, it stores all of its data inside WP_Post. This is obviously pretty stupid ...
-1
votes
0answers
19 views

Theme animation for wordpress [on hold]

You know of a theme to create a home page with animated objects ? objects that come alive to the passage of mouse ? thank you
1
vote
3answers
35 views

Detecting all admins that are logged in

I'm trying to find all users that are logged in to WordPress. I can detect myself, but I want to be able to find the other admins. Here is my current code to find myself. if (user_can( ...
0
votes
0answers
6 views

Custom styles dropdown in TinyMCE editor - not working with headings

I've added a custom style dropdown to the TinyMCE editor, but cannot get it to work with headings (h1, h2, etc..). I highlight plain text, select the style from the formats dropdown, and the text does ...
0
votes
2answers
34 views

Advanced WP_Query with meta_query, orderby?

I wonder if anyone can help me with this little complex query with ACF. I have the following so far which should display: Pages, News Articles, About Articles and Involved Articles. Show: only ...
0
votes
0answers
9 views

How to fix the format of entry pages with thumbnail images?

I am trying to make the entry posts with a thumbnail image to the left, and title above the excerpt of the article to the right of the thumbnail, but aligned with it. Currently, the thumbnail is below ...
0
votes
0answers
24 views

Password protect any file in WordPress

I have found that password protection with .htaccess & .htpasswd files is the only way to protect any WordPress file. I wanted to make few of my media files accessible by specific username and ...
0
votes
0answers
17 views

SQL query works only if inclusive

I have a Wordpress website with, say, 5000 articles. I am trying to apply a query to filter all the posts with featured images not listed in some specific categories. I started with: SELECT ...
-3
votes
1answer
33 views

Why can't I save encrypted data in a transient?

I'm trying to save encrypted data (using AES-256-CBC in PHP) in a transient but for some reason it keeps failing. The transient key is under the required length of 45 characters and the data is not a ...
0
votes
0answers
11 views

Static admin page for all multisite users

I want to have a stats page that all my multisite users can see, it'll give info on the network like number of users, number of posts, number of blogs, some graphs, etc. In the admin bar, i've ...
0
votes
1answer
21 views

Post body text occupying featured image space before it loads

I am wondering if there is a way to prevent my posts body text to occupy my featured images space before it gets loaded. When I go to some post the post content is right bellow my post title until ...
1
vote
0answers
23 views

WPDB Multiple site's posts and get featured images

I am using the code below to query 5 Wordpress sites for their posts, merging them into an array, sorting the array by date, and then displaying them: //SITE 1 $mydb = new ...
0
votes
0answers
12 views

How to check if this cookie set by this page?

I use this code to check if special cookie set on user browser. Now i want to check if this cookie set by this page. How can i do it? if (isset($_COOKIE['comment_author_email_'.COOKIEHASH])) { // ...
0
votes
0answers
20 views

What is the best way to do MyAjax error and success handling?

I'm doing an API call and if the response code is 200, I'm simply sending the name of the course as the output. If it's not 200, it will give the user a variety of errors based off the if checks. I ...
0
votes
1answer
13 views

Images Wont Display After Importing From Old Wordpress

The images in my posts are not displaying, but when I click them, they display perfectly fine. It seems like the issue is the actual image is: ...
-2
votes
0answers
11 views

Can't login/edit on 3 wordpress sites from a particular Windows PC [on hold]

I have 3 wordpress.org sites and I have problems logging in and/or editing all three from one particular laptop (Win 7 Home Premium). It is puzzling! I can load regular pages from the sites OK. The ...
-2
votes
0answers
25 views

Contact Form 7 hide required fields if user use radio button

i would hide the required of some fields if a user click on a radio button. there are two radiobuttons A and B. is one button active - some fields are show. AFields and BFields. All this fields are ...
0
votes
0answers
11 views

Redirecting archive page (blog) to normal page

While trying to redirect an archive page to a normal page using .htaccess I can't figure out how to make it work. I've tried using those three lines: Redirect 301 /blog$ /mvo-database RedirectMatch ...
0
votes
0answers
21 views

Optimizing Wordpress Queries - Removing Group By ID

I'm looking to transform a few queries that I'm running through get_posts into direct MySQL queries, in the hopes of optimizing them further. I see that my initial get_posts query, once built and ...
0
votes
1answer
22 views

Set up a Child/Parent relationship with a Custom Post Type

the issue I'm having is I want to set up a custom Wordpress site to manage a single webcomic. However, I found all the existing Wordpress online comic management plugins do not do what I need it to ...
4
votes
1answer
36 views

Can I verify nonce which was generated on a different WP site?

I have a form with the action going to a different wordpress site. I want to use wp_nonce to generate fields in the form on site A. Can I use wp_verify_nonce on site B to verify the nonce fields?
0
votes
1answer
18 views

Make “default” wordpress pages & features unaccessible

I am trying to create specific password-protected mini-sites (single wordpress pages) for specific users or specific passwords to be precise. For example someone clicks the url domain.com/url1 and if ...
-4
votes
0answers
13 views

Dot navigation in wordpress [on hold]

hi i want to put allot of information on a wordpress page and i want to put a function in it so you only see parts of that content. something like this: JSFiddle I hope someone can help me to make ...
-2
votes
0answers
9 views

Write name and custom meta box in picture when upload it

I have form to register new user in my site, And i need when user upload his images, i need to write user name and care name (that is from custom meta box) to the images that uploaded it by user. How ...
0
votes
0answers
14 views

add_menu_page and URL parameter

It is possible in WordPress to add a url parameter to the add_menu_page slug? Only found solutions for a submenu page. Odd thing is that if i add a node to the admin bar which has the link ...
-3
votes
0answers
18 views

From name and email (new user email)

How can i change email template for new user If I want to change from name and from email also?
0
votes
1answer
44 views

To use custom post types, or not to use

I have in the past few years done more and more development in Wordpress and would like to get some feedback about custom post types/taxonomies. What are the pros/cons of using custom post types, ...
4
votes
2answers
56 views

Empty search input returns all posts

So today I've decided to implement a search form onto my site that obviously returns a result when the user searches for it, but I've run into a little problem. My Problem When the user searches for ...
-2
votes
0answers
22 views

Broken e-mail link in header

I had a working e-mail link in my header but since I've activated my w3 cache-plugin it stopped working. I'm guessing I could fix it in an .php file somewhere, but I don't know where. The site is ...
1
vote
1answer
10 views

Create an extra Widget Areas in WordPress TwentyTwelve

I'm new to wordpress and it's difficult for me to find some basic information in forums and documentation. I'm trying to create my own widget areas, and place my widgets there in administration ...
0
votes
1answer
34 views

Conditional tags returning different results for different areas on a page?

I have a custom template. I want to output some JavaScript based on the type of page I am on. My current setup includes a static front page, with a template assigned it to it. This template is also a ...
0
votes
0answers
11 views

WP REST API V2 - Modifying responses

I am trying to modify the response object of a WP REST API (v2) call following this guide: http://v2.wp-api.org/extending/modifying/ I have a post type called Careers and a taxonomy called Regions. ...
0
votes
2answers
25 views

How to handle “the_terms” inside loop

I have been searching google but I am really confused. I am trying to display the terms of the taxonomy assigned to the post. I am using the_terms($post->ID, 'locations');. The custom taxonomy is ...
0
votes
1answer
23 views

Get Post content in another file?

I am working on a plugin .I have a custom post type team.Custom post has four posts of different categories.I used this code to send post id of each using ajax. $(document).ready(function () { ...
0
votes
0answers
12 views

Edit page blank, control buttons missing

Lately I encountered a strange problem while editing posts and pages. I have a blank page with all controls missing (like publish etc.). I tried to deactivate all plugins. I tried to upgrade ...
0
votes
1answer
25 views

Url to archive page for custom post type

I made a custom post type , and an archive page for the post type. I don't know if there is a url where I can access this archive page? I would like to have a page where all the "posts" (products) for ...
0
votes
0answers
14 views

Allow a user to update another user's profile

I have a membership site using the Woocommerce Membership Plugin with a number of levels of memberships: student, standard and institutional. They are all able to go in and update their own ...
0
votes
0answers
17 views

Process all virtual sub pages on parent page

My parent page: http://example.com/id Virtual pages are: http://example.com/id/1563 http://example.com/id/john/5896 http://example.com/id/jack-miami/3054 I use shortcode in parent page that gets ...
0
votes
2answers
25 views

Error while downloading WordPress themes

Installing Theme: Luminescence Lite 1.3.0 Downloading install package from https://downloads.wordpress.org/theme/luminescence-lite.1.3.0.zip… Fatal error: Maximum execution time of 30 seconds ...
-1
votes
0answers
29 views

$wp_query filters with html input

I am stuck in add filters to $wp_query with inputs from html. Like when user enters a string in input box & the query is filtered with each letter. Any suggestion will be appreciated. Scenario ...
-2
votes
0answers
26 views

Trying to update my plugin in the wordpress.org repository, authentication failed

So I am trying to update my plugin in the wordpress.org repository, and the authentication is not working. I get the error: POST of '/!svn/me': authorization failed: Could not authenticate to ...
-1
votes
1answer
17 views

Plugin to allow page redirects based on user role? [on hold]

I have installed the UserPro plugin to manage two different user roles on a property company's website - owners and renters. Both roles have access to distinct My Community pages, and neither can see ...
0
votes
1answer
17 views

Translating a pager string

Most of Wordpress function found in themes look like this: <?php echo get_next_posts_link( 'Older posts', $the_query->max_num_pages ); // display older posts link ?> <?php echo ...
-2
votes
0answers
18 views

What are the best security add-ons for new WP sites?

I'm thinking about starting a WP site allowing many users to post, etc. What is your best advice for security plugin/other add-ons for the future? Or main holes to watch out for? Many thanks!
-1
votes
0answers
17 views

Modify (functions) code that inserts ads (or whatever else)

I use the following code in functions.php to insert an ad after the second paragraph. I would like to continue to do this, but also add another (different) ad before the last paragraph. How do you ...
-2
votes
1answer
29 views

malware removal wordpress

my site now displays a red warning telling users that my site as malware.. how can i fixe this ? any one have this same malware ? Current status:Dangerous www.site.com is not safe to visit right ...
0
votes
1answer
16 views

switch_to_blog() and wp_nav_menu() not functioning properly

I have an MU plugin active on the network with this small function to query menu 4 from the main site in my network. On the main site in the network (1) things work as expected. On the sub sites in ...
0
votes
0answers
12 views

Custom Gallery HTML only returns #carousel output and not #sliding ouput

I took the following code from an example and adjusted it so a standard gallery in wordpress would output as a Flexslider and Carousel. I can output one of them just fine, but I added additional ...
0
votes
0answers
19 views

How to add id to custom post type taxonomy term slug?

For example, if custom post type taxonomy is "cpt-category" and term is "cpt-term-11", I would like to show and link like this(*123 is term id) /cpt-category/123/ instead of ...
1
vote
0answers
27 views

Input in plugin widget does not allow spaces

I'm developing a plugin for a client which allows keeping records of reservations to their hotel, and it has a widget which allows clients to make reservations. However, for some reason one of the ...

15 30 50 per page