0
votes
0answers
6 views

Excluding a category from next and previous post links

I am trying to figure out the code to exclude a category from my next and previous post links. My code for the next and previous is as follows: <div class="next_prev_cont"> ...
0
votes
0answers
5 views

Query posts from multiple post types sorted by overarching menu order

I have three different post types named activity, publication and project. I want all posts from these three post types to appear on one page on my website ordered by an overarching menu position. ...
0
votes
0answers
4 views

Checkbox Undefined index error in Plugin

I am getting some errors when trying to create a checkbox within a simple plugin I am creating. I have a simple settings page at the moment. The errors are: Illegal string offset 'single_images' ...
0
votes
0answers
6 views

Display posts by month

I want to achieve something like this, I don't know if it is possible and what would be the best way to do it: The way I query the posts is like this: <div class="post"> <?php global ...
0
votes
0answers
4 views

Multisite wp-admin redirect loop

I have a subdirectory multisite setup, it all works fine apart from one small issue... The sites are setup in the following structure: http://domain.com/blogs/ http://domain.com/blogs/second/ ...
0
votes
0answers
6 views

Pagination on Custom Post Types filtered Archive Page not working correctly (jumps to the first Post)

This is my Custom Post Type "newyork": add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'newyork', array( 'labels' => array( ...
0
votes
0answers
11 views

WordPress ignoring LIMIT / posts_per_page despite being in wp_query

Using WP query: $myquery = new WP_Query( array('posts_per_page' => $instance['count'], 'meta_key' => 'mywp_post_views_count', 'orderby' => 'meta_value_num', 'order' => 'DESC' ) ); ...
0
votes
0answers
3 views

How to show a gloabl message on a user profile page (in back end)?

I want to show a global message for all users in their profile page. I do not want to edit profile.php what is the hook to do this? Basically I want to add a div to show a paragraph below the ...
-1
votes
0answers
5 views

Woocommerce “All Orders” not showing “Pending” orders

as my title says my problem is that, when I visit the admin, and click on "Woocommerce -> Orders", then click on "All" (to show all orders) -> It is listing orders but not including orders which are ...
0
votes
0answers
3 views

Set featured image using wp_insert_post

// Auto post ( Unique File Date ). $postData = array( 'post_category' => array( $Category ), 'post_status' => $Post_Status, ...
0
votes
0answers
4 views

Showing “All posts” under custom top level

This is my first time making a custom Post and I noticed that if I add my custom posts on the main menu then they automatically get the "All" and "New" child objects but if I try to add my own child ...
0
votes
0answers
9 views

Do a summary based on sections in a post

I wonder if it's possible in wordpress to create a summary, let's say at the begining of the post, that displays links to all the post section ? Example: [summary title="Summary"] [section]Title ...
0
votes
0answers
18 views

Plugin Deveopment: Precautions I need to take to avoid issues

I am entering to the exciting field of WordPress plugin development. Often I see that installing of one plugin causes issues to other plugins installed or sometimes it breaks the entire site. I know ...
0
votes
0answers
9 views

Password protect a single site on network

Id like to restrict access to a single (subdomain) subsite, so that it requires a plugin to view the site... without affecting any of the other subsites. So for example if I have 3 subsites like ...
0
votes
1answer
7 views

Use post in multiple places on a page with multiple posts

I have three custom post types: workouts, news_items, and business_items. I'm trying to display the top (most recent) item from each on the home page and I'm trying to put the featured picture from ...
0
votes
1answer
6 views

Custom capability for a single user

I have this complex scenario: 1) I'll have multiple admin users. 2) Only one admin can 'see_encrypted_pass' Now, I want to assign custom 'see_encrypted_pass' capability to only one admin (say, ...
0
votes
0answers
10 views

How can I automatically add a taxonomy to my navigation?

So I have a navigation of custom taxonomies that I have added through Appearance > Menus Navigation: HOME | NISSAN | HONDA | TOYOTA | MORE Now all of those are custom taxonomies of "Types" that ...
1
vote
1answer
45 views

How to add country drop down menu to the user profile?

I've added this code snippet to my functions.php function my_new_contactmethods( $contactmethods ) { $contactmethods['country'] = 'country'; return $contactmethods; } ...
-2
votes
0answers
7 views

WooCommerce 'activated_subscription' Fires with Empty $subscription_key

I am implementing the WooCommerce activated_subscription hook and the $subscription_key parameter is always empty when I attempt to debug with xdebug and inspect the variable. Any clues why the value ...
0
votes
0answers
19 views

Wordpress Adding Lines to my Theme Files

Has anyone else noticed that sometimes, after uploading a theme, when you download it or edit it via Wordpress there are line breaks in between every line? For instance: 1 First line 2 Second line ...
0
votes
1answer
14 views

How to Manually Upload Files via FTP

I am helping a friend who has a site self-hosted via Wordpress. They have access to their FTP. Now I am familiar with manually updating files through the FTP and that is how I usually update my sites. ...
0
votes
0answers
9 views

Expanding Gravity Forms functionality

I am looking to create a "chinese auction" website. This is a method of fundraising where prizes are auctioned off and people purchase tickets on the website and put them towards a prize(s). Gravity ...
0
votes
0answers
8 views

Embed google alerts rss feed into WordPress site

adjustment on my origonal question. How would I go about adding a new widget area to my current template so I can embed a google alerts rss feed? Cheers for any suggestions / solutions
-1
votes
0answers
10 views

Add fee with same tax class as product in cart

I have store where customer can buy only 1 item at the time that means there will be no more than 1 product in cart. All my products have different tax class. I need to add fixed fee and also apply ...
0
votes
0answers
11 views

What is wrong with my blog post text? [on hold]

On my blog post page, the text is getting completely botched up in the posts. If I enter the actual post and view just that one, then it is fine, but if I am actually on my blog post page (the one ...
0
votes
1answer
12 views

Single post full screen template not inheriting worpress role permission

In addition to the normal single post view on my website, I added a full screen version of the post with entirely new set of styles. In this full screen option, everything is removed except ...
0
votes
1answer
10 views

Using WordPress Importer, how to import media only?

I'm using WordPress Importer, and I can't figure out how to import media only? It ends up importing menu's and everything and I don't want that.
0
votes
2answers
7 views

if statement parent page for child pages

im trying to achieve a code to include a file into pages, these pages has a parent page. so instead of repeating the code of the "if statement" i use this function but doesn't work. i want any page ...
0
votes
1answer
13 views

How to extract information from a wp_query result?

Background: I'm using a wordpress theme called skt full width. I am modifying their front page slideshow, so that it displays six random images instead of six pre-selected images. I have a custom ...
1
vote
2answers
17 views

Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname

I have a custom post type "news_updates" which I have not given custom tags or categories. I have however created a normal tag (not attached to a custom post type), and assigned it to a particular ...
0
votes
1answer
13 views

Disable load scripts and styles not working

I'm trying to disable the load of nextgen gallery 2.x styles and scripts, I used function mytheme_deregister_scripts_and_styles(){ $unwanted_scripts = array( 'photocrati_ajax' ); foreach ...
0
votes
1answer
14 views

Where is search.php?

I've got a site on Wordpress 4.0.1, and I can't find search.php. A database batch process has applied a template to the default search results page, but I now can't find the page to change it back. ...
0
votes
1answer
13 views

How to get to a specific position in wp_query?

Background: I'm trying to display images in a slideshow, and I want to select those pictures randomly from the website's media. The image has a custom field in order to be selected for being the ...
0
votes
0answers
10 views

Wordpress update page 404 error

When creating/updating pages in my WordPress 4.0.1 installation, clicking the "Update" or "Publish" button to submit my changes redirects my browsers to the apparently non-existent URL ...
0
votes
0answers
9 views

Same menu for different taxonomies to reach different content

I'm using a "location" taxonomy to show the same website for 4 different locations. Each of them will have the same categories which I want to display in a menu. Is there anyway to create the same ...
0
votes
0answers
7 views

wpmu_create_site creates broken sites

I am trying to develop a WHMCS provisioning module for WordPress Multisite. So far I have managed to create several sites using wpmu_create_blog, however the function does not assign the new site to ...
0
votes
1answer
18 views

Add attribute to link tag that's generated through wp_register_style?

My original question was answered here: Google Fonts giving: No 'Access-Control-Allow-Origin' header is present on the requested resource. Is there a way to add the data-noprefix attribute to my ...
0
votes
2answers
15 views

Page and Category With Same Slug - Looking To Silo Website

Not sure how to do this, I want to silo structure my site and I have created a category and put all my posts under that category. I want to now create a page that has the same slug as the category ...
0
votes
2answers
21 views

call php file from form and use wp functions

I'm building a stripe plugin and I'm stuck on this minor major issue. Problem: the form calls my process.php page to grab the form input variables, handle the Stripe token, and finally call out to ...
-2
votes
0answers
11 views

Echo woocommerce product thumbnail? [on hold]

Im trying to echoe WooCoomerce thumbail of producs on a an orderform. Not sure how though though. This is what i got so far: <?php echo woocommerce_get_product_thumbnail();?> This give me ...
-2
votes
0answers
11 views

WP Ecommerce - Saving Large Number of Variations Does Not Work [on hold]

I'm using the WP-Ecommerce plugin to add products with variations. I have three different variations, each with 20 different values. When I click Generate Variations, not all of the variations are ...
0
votes
1answer
17 views

save_post hook - headers already sent?

I'm trying to create a very simple alert for each time a post is created or updated with the below... add_action( 'save_post', 'updatedAlert' ); function updatedAlert() { echo ...
-4
votes
1answer
20 views

How to make thumbnail width 100% NextGen Gallery [on hold]

Hello I am currently trying to build a vehicle selling page using wordpress. I am currently using the shortcode below to include the description underneath the thumbnails. [nggallery id=1 ...
0
votes
0answers
13 views

wordpress admin panel breaking , seems it does not getting CSS

I've just installed a wordpress . the front-end is okay but when I'm there to login to my admin, then i see everything is terrible, it seems it does not getting CSS file for admin. here is the link ...
-2
votes
1answer
8 views

How do you remove 'show slideshow' text from NextGen Galleries? [on hold]

How do you remove 'show slideshow' text from NextGen Galleries?
0
votes
1answer
14 views

Populate a select box with data stored in the database?

I know generally how to add custom fields to the user profile page. However, I need to add a custom select box to the profile page that is populated with all the schools in the state. (Our users will ...
0
votes
1answer
16 views

Add #anchor to next/previous_post_link

I have tried to figure out to change the previous_post_link by following the Codex but I can't figure it out. Same for the next_post_link. I just want to have a simple link but with an #anchor tag ...
1
vote
0answers
14 views

Wordpress 4.1 header image problem

I want to use a moving .gif as my header image in wordpress 4.1. In previous versions I could skip the cropping step and leave the image as is, and it would let me pick a moving gif as my header ...
0
votes
0answers
27 views

Proper Array Setup

I'm having real trouble getting this to function right, basically I'm tweaking an array for the related products section of WooCommerce for WP, but it's not really a plugin issue more of a general ...
0
votes
1answer
10 views

Sharing functions between plugins

I asked a question similar to this, but after reading a comment from another question which states the functions.php file should not be used for plugin related stuff, I thought I would ask a slightly ...

15 30 50 per page