0
votes
0answers
4 views

Limit editing capabilities to one page

I have one user on WP website. I want to give him editor role because he need to edit pages and as I see - edit_pages capability requires user to be at least editor. The problem is that i want to ...
0
votes
0answers
3 views

Wordpress add css class to cloud tag anchor tag

How to add CSS Class to ul and anchor element of Tag Cloud generated through wp_tag_cloud function. I want wordpress default class for ul 'wp-tag-cloud' to be 'tag-cloud' and anchor tag would have '' ...
-1
votes
0answers
6 views

Why are showing duplicate product name in woocommerce-point-of-sale-pos register?

When I type product name in search box in the register of woocommerce-point-of-sale-pos plugins it showing duplicate names and which is not possible to add to cart, and when I click on pay button its ...
-1
votes
0answers
8 views

Flexslider showing text below (Medical Press Theme)

I'm using the Theme Medical Press and I added a link in the slider (I think it's using FlexSlider). I noticed that when adding a html link inside the slider field it shows the text which is located ...
-2
votes
1answer
10 views

404 Not Found error was encountered

When i click on any menu it display 404 error can you please help on this. Current website build in core PHP.
-1
votes
0answers
15 views

Get custom post type ID by its URL/Permalink

I have tried, <?php $postid = url_to_postid( $url ); ?> but its not working!!
0
votes
0answers
6 views

Advanced Custom Fields - Same field editable on multiple pages

I'm building a mini page editor using repeater fields that allow you to create sections,row,columns->content. With that being said, they also allow for id's and classes. It would be ideal if I could ...
1
vote
0answers
7 views

Get Meta from Custom Field of Image URL

I have a custom field that is an Image and the return value of the field is Image URL. I have custom page templates where I render these image fields. Is there a way to get the meta info for the ...
0
votes
0answers
12 views

WordPress loop by three meta values with random order

We have three custom fields with names plan_name1,plan_name2 and plan_name3. Need to check if these meta keys has values (1,2,3) OR (2,3,1) OR (1,3,2) OR (2,1,3) OR (3,2,1) OR (3,1,2) We mean ...
0
votes
1answer
10 views

Create Custom Post type that uses Page.php template

I am creating a plugin that registers a custom post type, and I want it to be displayed using the theme's page.php template, rather than the post.php. I set the hierarchical flag when I register it, ...
0
votes
0answers
11 views

Issue linking to custom post type posts

I am having issues linking to a custom post type post. There is a shortcode that loads a list of posts for "applications" on the site I am working on. I am not sure what code to use to have it call ...
-1
votes
0answers
12 views

Strange href requests to my Wordpress website [on hold]

I am getting strange requests to my Wordpress website. Like this: http://www.securitronlinux.com/2013/06/20/%3Ca%20href= What type of exploit attempt is this? This is a very strange request to make ...
-2
votes
0answers
14 views

WordPress Gallery with pagination and attached content [on hold]

Basically, I'm looking to build a gallery that works like this: https://www.yahoo.com/movies/movie-stars-just-earned-tony-184017429/photo-gabriel-byrne-long-day-s-1462300947335.html There are a ...
0
votes
0answers
18 views

Is it possible to search for a string in posts OR postmeta?

If I have a text string $search_string and construct a query like this: $args = array( 's' => $searchstring; 'meta_query' = array( array( 'key' => 'my_key', 'value' ...
0
votes
0answers
9 views

Highlighting correct path with Wordpress Nav_Menu function

I have created a WordPress site for a client, in which you filter through the navigation menu (set-up in appearance->menu) by revealing hidden items (unordered lists with class "sub-menu (generated ...
0
votes
2answers
17 views

Upload images and attachments from frontend form

I'm not very expert of wordpress and I'm trying to create a frontend form sending information to my php function through ajax. I'd need help about uploading images and files as attachments of the ...
0
votes
0answers
7 views

Extract WordPress using ZipArchive skip root wordpress directory

I am using ZipArchive to extract the WP installation files.. which is working fine.. but when the zip is extracted it outputs it with the parent "wordpress" directory looking like this: ...
1
vote
1answer
10 views

Trying to properly register and enqueue stylesheet in WP but nothing is rendered

I'm told it's very important to register and enqueue styles and scripts in WordPress even though it's a real pain in the behind. I had no problem with the scripts however when I try the styles, ...
0
votes
0answers
16 views

Targeting .htaccess file with file_put_contents

I have a htaccess file and the path to access it is: wordpress/.htaccess When I use: file_put_contents('wordpress/.htaccess', implode('', $data)); I get the error "Failed to open stream"... How ...
1
vote
0answers
17 views

How to load paginated post pages via ajax

Here's the case I got: I've setup post pagination for my website and everything works well. Except one thing - on every new page request all the resources are loaded again. This makes the website ...
4
votes
0answers
21 views

Validate alt text for attachments?

How can I require users to enter alt text when adding attachments? Alt text is surprisingly buried; the only way I've been able to retrieve the alt text at all is via the wp_get_attachment_image() ...
1
vote
0answers
17 views

Two functions.php files in one theme

I am creating a WordPress Framework and within it there is the standard functions.php file. I will create new themes based on the framework which will use the framework functions.php file but have ...
-1
votes
0answers
7 views

WP eCommerce plugin: applying different shipping types to different products [on hold]

I have a two sets of product: one ships with flat rate shipping and one uses the shipping calculator. Currently, products with calculated shipping are processed as expected. Products with flat ...
0
votes
1answer
14 views

Suggest Users basing on User taxonomy

My question is for getting informations or directions about how to move for a task I have to do. This is just a request for advices due to the fact I'm not an expert in wordpress development. My task ...
-1
votes
0answers
14 views

No button is working in Wordpress 4.5.1 [on hold]

I'm with WP 4.5.1 and no "buttons" is working in WP. All links works, and also "real buttons", but for example, "screen Options", "Help", and all JS interactions are not working. When I open Chrome ...
0
votes
0answers
13 views

Customizing a category archive page through plugin

I have created a plugin that adds a custom post type called "Activities". This post type's archive shows all the categories, and then the categories each have a page that includes the posts contained ...
0
votes
0answers
14 views

My Wordpress editor deletes all characters after emoji - how can I fix this?

Here's my issue: I have an Instagram post that I want to embed. I go to Instagram, I get the embed code, which includes emoji, I paste it into the WP editor on a new post (note that I am on the "text" ...
-1
votes
1answer
18 views

Multi-site Installation in Wordpress | Security & Future Migrations

I think from just one dashboard we can install WordPress on multiple domains. Suppose I have a website say samplesite.com and a subdomain blog.samplesite.com or - samplesite.com/blog/ 1. ...
0
votes
0answers
7 views

install problem can't find wp-load.php file

This is probably a simple problem, but can't figure it out... 1) I installed the wordpress file directly under the xxxx directory; wp-admin, wp-content, wp-includes are all within wordpress file. 2) ...
0
votes
0answers
13 views

Multi-step Frontend Filtering to Reveal Content

I'm not even really sure the best and easiest way to go about doing this - or what the right verbiage is to properly describe what I'm wanting to do. On my site I'm looking to change this selection ...
2
votes
1answer
17 views

.htaccess file redirecting to parent directory

I am creating separate WordPress installations in several subdirectories of one domain. At first I was getting a 500 Server Internal error.. so I created the .htaccess file and uploaded it to each ...
0
votes
0answers
14 views

ACF repeater not outputting anything

I Recently got started with wordpress and the wonderful plugin ACF pro, but i'm having trouble understand the repeater. I have two pages Typiske_aarsager and Zoneterapi_og_Healing that relate to the ...
0
votes
1answer
14 views

Display list of my_terms having same custom field

i have custom field for my taxonomy called 'food_type' How to Display list of my_terms having this custom field with "Cat food" value
0
votes
1answer
16 views

Enque Typekit Fonts - Not Found

I'm trying to enqueue a typekit on my WP site in a function using code below: /** * TypeKit Fonts * * @since Theme 1.0 */ function theme_typekit() { wp_enqueue_script( 'theme_typekit', ...
1
vote
0answers
22 views

Use author author display name in permalink structure for pages and posts

I need to add the author name as a subdirectory prefix for all user's posts and pages. For example: example.com/johndoe/ //The author page for John Doe example.com/johndoe/category/test-post/ //Test ...
1
vote
1answer
22 views

Wordpress Database lost auto increment

After rolling back a Wordpress database to a backup version it seems that all the tables lost their auto_increment on the primary key columns. I read on another post this could be to do with InnoDB ...
0
votes
0answers
9 views

Encoding error when importing blog to new website

when I import my old blog (OLD) content to a new website (NEW), it messes up the file names in the uploads folder (more specificaly, it turns images containing special characters like ...
0
votes
0answers
13 views

Use remote image URLs as featured images/thumbnails

I'm working to migrate a site from Drupal (version 6) to WordPress (4.5.1). It has ~50,000 posts, almost all of which have one main image that appears in a large version on the post itself, and in a ...
0
votes
0answers
10 views

Remove/Disable “Automatically add new top-level pages to this menu”

Is there any way to disable or remove the "Auto add pages - Automatically add new top-level pages to this menu" functionality via a theme? I suppose I could hide it with a bit of CSS, but I'd rather ...
-1
votes
1answer
13 views

Creating a dynamic field for Contact Form 7

Trying to find help building a Contact Form 7 for Wordpress. I have installed the Contact Form 7 Dynamic Text Extension and used the dynamic text field tag that comes with this plugin my goal is to ...
0
votes
1answer
18 views

I need to hook and change language of facebook sdk

I need to hook into this function to change language to from en to french facebook sdk. $facebook_sdk_src = apply_filters( 'bimber_facebook_sdk_src', ...
1
vote
1answer
31 views

Is there a way to get 3+ dimensional array from a single MySql command

For example an array that has all the months, inside each month are all the users registered that month, and details on every user. I could solve it by simply searching for all users registered this ...
2
votes
2answers
22 views

Where to hook into post content?

Which hook or filter is used to edit the post content before the_content filter is applied to it. For instance, if I wanted to add Hello World, as the first text in every post.
0
votes
1answer
14 views

Multi site installation with multiple domains ie(www.exampleone.com, www.exampletwo.com)

I want to do a multi site installation of 13 websites with 13 different domain names. ie www.exampleone.com,www.exampletwo.com etc. I have seen examples of multi sites in Wordpress with sub domains ...
0
votes
0answers
11 views

WP_Query only displaying one post with custom_taxononomy

I’m attempting to show all posts attributed to the taxonomy item "people", though my query is only displaying one post with the following code. Any suggestions much appreciated! <?php // query ...
1
vote
0answers
21 views

The word 'exit' in a content box causes WordPress to serve a 'Not Found' page

I've been developing with WordPress for years, and this is a new one. When the word 'exit' is included in the content of a post, even if inside another word like 'complexity', the post will not save. ...
-1
votes
1answer
20 views

Get all terms assigned to a post from different taxonomies

There are different taxonomies. I have assigned different tags from these taxonomies to different posts. Can anyone help me to get all the terms which are assigned to a post. (Different terms from ...
0
votes
0answers
25 views

First hook to use current page post id

I'm trying to find the first hook that will pass the current post ID, as I would like to update the current post (by getting its ID) and the variables submitted to that page. This is the code I'm ...
0
votes
0answers
7 views

Show Sub categories based on categories on admin category taxonomy pages

Newbie to wordpress.Need to show the sub categories in table when category selected.Managed to display categories as dropdown shown below but stuck how to show the sub categories based on category ...
0
votes
0answers
8 views

Controlling visibility of files in the Media Library?

A part of the site I'm currently working on includes an expenses section where the user can upload expenses and attach files to them. This is currently achieved through a custom post type using an ACF ...

15 30 50 per page