1
vote
1answer
25 views

how to add submenu item under parent menu item with code

Well, here is my problem suppose i have a menu like this generated by wp_nav_menu() home test- test1, test2 contact about test is my custom post type so what i want to do is if a user/admin ...
0
votes
0answers
10 views

Gravityforms notifications with user meta filter [on hold]

I want to be able send notification emails from a form to different users according to their city (user_meta). eg. "User A" is seeking for a plumber in London. He fills out the form that asks various ...
-1
votes
0answers
10 views

Change background color of all pages [on hold]

Hi Guy i want to change background of my website need help plzzzz http://aktiptravel.co.uk/
0
votes
1answer
7 views

How to check if post has previous_comments_link() and next_comments_link()

I'm using the following code for comments pagination (based on 2014 theme) <?php if( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> <ul class="pager"> ...
0
votes
1answer
18 views

Problem with Front-Page.php loading recent posts

Hi I this weird problem where i have my custom front-page.php with set page (in Reading Settings) static page. What I want to have is a static page with welcoming message and later 1 recent posts ...
0
votes
1answer
15 views

Two text domains in one plugin

From start: A = main plugin(the library), B = child plugin I develop a plugin B that will depend on another plugin A in order to work properly. I do this because I'm one of the persons who don't ...
-1
votes
0answers
5 views

Finding a correct theme for existing non wordpress site [on hold]

I am new to wordpress development..i want to create a website in wordpress which will have similar look and feel of this website...can someone help and tell me how can i find a theme in a easiest way? ...
1
vote
0answers
26 views

How to remove custom post type and add category and post name

I have a custom post type called listing and taxonomy for this listing is called listing_cat. At the moment my wordpress permalinks appear in this format ...
-1
votes
0answers
8 views

Woocommerce Barberry Theme - product, category & 'Add to Cart" button not working [on hold]

I am updating a Woocomerce Barberry Theme for new client. I am an aspiring front-end developer-- a newbie. I am experiencing various issues. 1) Add to cart button is not working. I have only updated ...
0
votes
1answer
27 views

Fetch CSS of posts

I am using JSON API plugin for fetching recent posts.Now I want to show them in my web as they are being displayed in wordpress.How can i get css of wordpress theme?
4
votes
1answer
19 views

Wordpress Multisite: Adding actions to only one site

I have Wordpress Multisite installed with WooCommerce network activated. I want to add an action to a hook in ONE of the sites that has WooCommerce installed, instead of all of them. For example, I ...
0
votes
1answer
16 views

remove custom post type ulr

I have a custom post type called portfolio with three categories. If i make post with it, the url looks like this. http://skateflix.se/?portfolio=route-one. Every fix i tried, every plugin gives me ...
-1
votes
0answers
8 views

How to change view of category product woocommerce to listview [on hold]

when i click a page of category product, the category in grid view. how to change that to list view ? sorry for my spech engglish.
0
votes
0answers
8 views

changing permalink “next link” to navigate the next page not working

Why on earth if i change my permalink structure, like this! /%category%/%postname% the next link to navigate the next page, is not working! it display the error page not found but if add some text ...
6
votes
1answer
51 views

Is it possible set a featured image with external image URL

I know there are plugins that fetch images from remote URL and store locally. I just want to know whether it is possible not to store image in Media Library yet use it as Featured Image?
0
votes
1answer
8 views

Link to most recent child page

in the header of a website I am trying to link to the most recent child page of a particular parent page. I can't seem to wrap my head around how to accomplish this. Does anyone have any input on ...
1
vote
1answer
25 views

Moved WordPress to New Server, Now Tries to Download a File

Let me start by saying that I have moved dozens of websites from one server to another, without issue. I recently moved a website and when the URL is visited, a file named "download" with no ...
-1
votes
0answers
10 views

Woocomemrce Grouped Products [on hold]

My question concerns creating Grouped Products within Woocommerce. Is it possible to add a simple product to more than one single grouped product?
0
votes
0answers
14 views

How to add sidebar layout options in meta boxes under posts [on hold]

I am working on a WordPress theme and i want to implement this option in my theme which allow users to choose weather they want sidebar on right side of the post, left side or no sidebar at all and it ...
0
votes
0answers
13 views

Check role in database

I'm developing a script outside of Wordpress that needs to work with the Wordpress database and our website. I just need to check if the role of a user is our custom role (already defined) of ...
0
votes
1answer
19 views

I want my wordpress loop to only display posts of the standard format

I currently have the following php code for the content loop on my homepage. <?php if ( have_posts() ) : // Start the Loop. while ( have_posts() ) : the_post(); ...
0
votes
0answers
7 views

Random post slugs cut off from original and underscores not converted to hyphens

I am having a serious problem right now. Our business website just crashed and almost every single page has stopped working. I am in the process of restoring the backup right now but would like any ...
1
vote
0answers
9 views

Send an extra parameter with xml-rpc login?

New to xml-rpc with wordpress. I am trying to add a 3rd login parameter for security reasons to the xml-rpc connection. As it stands the default login only accepts a username and password. On our ...
0
votes
0answers
10 views

PHP Notice: Undefined offset: 0 [migrated]

I receive the following php notice PHP Notice: Undefined offset: 0 Here is a sample of what causes the error. $file = $_SERVER['DOCUMENT_ROOT']."/savedposts/edited".$post_id.".txt"; ...
0
votes
1answer
19 views

Adding instant search to wordpress page

I'm new to the site and to web development in general. I have a domain name, a hosting site, and wordpress installed. That took me most of a day. Now I'm trying to add this functionality to my site ...
0
votes
0answers
22 views

Paginate Term Archive? [duplicate]

I have a custom template displaying an "archive" of terms. When a term is clicked it takes the user to a list of all the posts assigned that term. I am not using a traditional loop to achieve my term ...
0
votes
2answers
12 views

Separate Editing from Publishing for pages

My site is made of "pages". Those page are static, but my team is going to modificated those pages frequently. I would like to have several authors and one editor. The authors edit content, but ...
0
votes
0answers
19 views

Page to show custom posts and one category

I want to show all my custom posts and category ID=15 in a page. I managed to call my custom posts as follows: $type = 'my_custom_posts'; $args=array( 'post_type' => $type, ...
0
votes
0answers
12 views

WP_list_table unhideable columns

So I have managed to setup a custom WP_list_table in my theme as per the tutorial here. I really love the fact that you can make the columns hide-able, and I have manage to implement that. What I ...
0
votes
0answers
12 views

Get taxonomy on publish

I'm not seeing exactly what I'm looking for, so forgive the potential repetitive question. On publish_post, I'd like to check the current post's taxonomies and do something with them. However, the ...
0
votes
0answers
19 views

Using Comic Easel plugin the comment button doesn't work [on hold]

I'm a wordpress newbie and I'm trying to use the comic-easel plugin in my blog. I thought that I installed it correctly, because I posted some images without any problem and the next and previous ...
0
votes
0answers
10 views

disable email notification for specific page

I would like to make the page with id = 2 that do not get notification mail that the message was written because I have on this page of me made to automatically approve comments. so i dont need ...
0
votes
1answer
22 views

Add code to header based on category for specific posts?

Hello all! I'm trying to add as you'll see in the image attached a small huffington post icon and accompanying text to some posts on my blog. I'd like to set up a category "Huffington Post" and when ...
0
votes
0answers
15 views

strip_tag not working in header.php

Used code I found on css tricks to remove the li tags from wp_nav_menu. $menu_parameters = array( 'container' => false, 'echo' => false, 'items_wrap' => '%3$s', 'depth' ...
0
votes
0answers
13 views

wordpress php files including all plugin and theme files have unknown on top [on hold]

Unknown code found in all php files of wordpress, how I can remove this. All files have unknown code like this: <?php $vzkcgmisom = '%x7825r%x5c%x **[hacking code removed]** qgswqsey-1; ?>
0
votes
0answers
5 views

Pagination numbers not showing inside post? [on hold]

Hello I am using themeforest Goodnews theme. I want to use pagination inside a single post, where i am using page break with <!--nextpage--> but when I publish it doesn't shows ...
0
votes
0answers
14 views

Removing WP-Login inputs

I'm building a passive captcha system for my WP sites, and I'm attempting to remove the inputs (username, password, submit) from my standard WP-Login page via php hooks; they'll be replaced via jQuery ...
0
votes
2answers
36 views

deregister scripts on certain page

i need to exclude certain scripts from running on a certain page. i have tried this code but it's not working - when i inspect the page the scripts are still being loaded into the footer of my page. ...
0
votes
0answers
19 views

wp_trim_words is trimming by character instead of by words

I'm using Wordpress 3.9.2, and having trouble with the wp_trim_words function. It seems to be cutting the string down to X characters instead of X words. Example Put the following in a template ...
0
votes
1answer
11 views

create custom links to featured image of the post [on hold]

I am using u-design theme. I am finding difficult to add custom link (url) to the featured image in the post. I am looking for a script or function to add custom links(url) (internal or external) to ...
0
votes
1answer
12 views

Making CURDATE() recognize current_time()

I'm trying to make this query pull a list of users 30 days from today that have a birthday. This query works as per below in WordPress, but excludes those who have birthdays as today. I believe the ...
1
vote
1answer
173 views

One Click demo content installation feature in WordPress theme options panel

I've been seeing a feature of one click demo content installation option on some powerful WordPress themes now a days. Mostly on Themeforest themes. I'd like to know if anyone have any idea about the ...
0
votes
0answers
12 views

Category Link to Post

I have a website with categories X, Y, Z...with the Search Everything plugin I can search based on the category name to return all the posts within a given category. I have the search results posts ...
0
votes
0answers
14 views

Maintenance Redirect via .htaccess [on hold]

I would do a maintenance redirect, which redirects all pages to the maintenance template folder, the template is located on /mainteinance/, and when I try to do the redirect appears to me the full ...
0
votes
0answers
13 views

Combined Category+Tag Archive Page

I am currently developing a music blog. I am using Wordpress categories for the artists and the Wordpress tags for featured artists. I want to combine the archive pages for artists and features into ...
0
votes
0answers
29 views

Plugin dont Work Inside AJAX Call

I'm doing a Progress Bar Shopping Experience (in my WooCommerce site). First the user select the plan (demo, home, business, premium), then select the products he wants, and finally I've to show them ...
0
votes
1answer
26 views

Can't update multiple rows with $wpdb query

it seems that I cannot update multiple rows to change the post_type of posts having a specific tag. I follow different method, even if it seems the good one is this one : global $wpdb; $result = ...
0
votes
0answers
10 views

Sorting a list of users by a user taxonomy with Pods

I’m trying to use user taxonomies to sort my userbase into categories and then show a list of taxonomies in the sidebar that on click expands to show the users within each taxonomy. I’m struggling a ...
0
votes
0answers
17 views

save_post action not firing due to old page_template meta data

I have some functionality hooked to the save_post action that wasn't working for a user on a particular WordPress Page. After some digging I found that wp_insert_post() was returning before getting ...
0
votes
0answers
15 views

How to increase menu size limit? [duplicate]

After searching for answers, I am still stumped. I am not very savvy but tried creating a php.ini file, editing .htaccess file, nothing lets me go above the 85 menu item mark. It seems to be a ...

15 30 50 per page