9
votes
1answer
6k views

How to use same email for multiple users

I have a very big multisite. And I got a request to enable option that multiple users can use the same email. I found a plugin "Allow Multiple Accounts" which doesn't work properly. I should figure ...
0
votes
1answer
162 views

Is there a way to add a custom input field for every taxonomy term in WP post editor?

I've created a custom taxonomy for my posts, and I was wondering if there is a way to add an extra input field (a text input) for every taxonomy term inside the edit post panel. What I want is not a ...
0
votes
2answers
128 views

Some images 404

I migrated our old blog to the same server in the main root. For some reason a couple of images won't load up any more even when they are in the /uploads/ folder. When going to them as a URL I'm ...
1
vote
1answer
417 views

Count singular post views automatically

I'm trying to add some function to each loop called in the themes. What I'm doing is I add a function to count post view from here post views without plugin, to use the function I need to add this ...
4
votes
2answers
155 views

Custom taxonomy: same terms, but for different years

I'm building a directory of people in a boarding house. What I'd like to do, is to be able to assign the following metadata to each person: Room number Parking space number Leadership positions ...
1
vote
1answer
1k views

Shortcode output appears before post body [duplicate]

Possible Duplicate: short code output too early How can I insert my plugin code via shortcode inside post body in exact position? The problem is that wp engine inserts the plugin code ...
0
votes
1answer
579 views

Image display from custom field

I am trying to display image from my custom meta box but cant make it: function.php file: add_action( 'admin_init', 'order_box' ); function order_box() { add_meta_box( 'meta-box-id', 'My Custom ...
0
votes
2answers
289 views

Custom Query based on custom field of a single post

I have posts which have a custom field date in the format yyyy-mm-dd. What Im trying to do is list all the posts for a specific year on the side of a single page based on the year in the custom field ...
0
votes
1answer
2k views

How to modify/ customise NextGen Gallery's templates? [closed]

I would like to customise the "Image browser" template in particular. I'm trying to make clicking on an image redirects to the next image in a gallery, just like how Facebook image browser works. ...
2
votes
0answers
178 views

Theme editor not showing correct index.php

I've run into a weird issue. Not a big deal, but I'm curious about the cause. I was making a small edit to a site built by someone else; it was also temporary, so I was just using the built-in theme ...
0
votes
1answer
159 views

Royalty-Free Sliders used in theme development

I am wanting to develop a premium Wordpress theme, and would like to know what is the best way to go on choosing a slider. I'm not skilled enough yet to write one from scratch. The ideal situation ...
1
vote
1answer
31 views

jQuery inluclude still seems ncessary for script to work within post

I have a jQuery script that works fine within a WordPress post as long as I include a reference to the jQuery libarary within the post. <script ...
2
votes
2answers
242 views

How do you use prepare when asking for a list of id's

I'm looking to get a number of records back from the database given a list of numbers and was wondering how I would use $wpdb->prepare to do this (to take advantage of the sanitising vs SQL injection ...
0
votes
1answer
22 views

SFC Problem with the comment login

I want to use the comment function of the SFC plugin for my website. However, every time I click the log in with Facebook button a little window pops up asking for the app connection then disappears ...
-1
votes
1answer
61 views

Complete Custom Style Part of Site

I have a wordpress site, and I need to apply custom styles to one page, I see the custom styles option, and some of them work, but others get overwritten. Is there a way I can apply strictly my own ...
4
votes
1answer
777 views

Move from old custom field to new post_thumbnails

I've just taken over a busy WordPress site that's got ~800 posts so far. The site's been around long enough that it was started up before post_thumbnails was available. They worked around that ...
0
votes
2answers
582 views

Require Capability to View Woocommerce Product

I am using Woocommerce and I have products in a category called B2B whose single_product.php is only to be shown to people with the capability read_b2b. <?php if ( have_posts() ) : ?> <?php ...
0
votes
2answers
3k views

Creating a custom menu/widget area

I'm looking to create a /menu/widget area like the following site: http://www.microsoft.com/en-gb/default.aspx please see sections under downloads, security, support, about is this considered a ...
1
vote
1answer
300 views

Maintain user profile data in a non-Wordpress database

I have an existing MySQL database (not Wordpress) containing user profile information. I am looking for a way to allow these users to log in to a Wordpress site and edit their profile. It is most ...
0
votes
1answer
668 views

Using multiple variables to assign categories to an array

I have php set up in a template file to check a form and see if 1 or more of 5 categories is selected. Based on which one is selected, I want the custom query I'm using to change in that the array for ...
2
votes
4answers
2k views

Debug whats going on inside a function called from AJAX

I have a link on my post edit page (admin side) that calls up AJAX and jQuery to run a function inside my functions.php page. The link is wired up and calling the jQuery but I can't seem to debug ...
0
votes
3answers
103 views

How do I enforce a specific custom post type on the loop

I am developing a blog where the main posts are of a custom post type. Let's assume it is a Book custom post type. I want the /author/admin page to list the books of the author admin, but instead, ...
1
vote
2answers
763 views

Using dividers in menu navigation - where to add code?

I've identified two methods of separating pages in nav menu on my blog (http://reasonandfolly.com) but cannot figure out what php or css file needs to be modified to achieve the result and will admit ...
1
vote
1answer
105 views

How do I get link URLs from the Wordpress links backend into an array?

I'm currently running a blogroll on a site I'm working on by defining a variable with an array that has all the rss feed urls I want to pull from. Like this for example: <?php // Get RSS Feed(s) ...
1
vote
2answers
1k views

Is it possible to have a landing page based on the visitors location?

I am designing an events site and would like people to see a homepage based upon the events that are in their area. Could this could also be done with a login, if they register their address?
0
votes
2answers
2k views

Retrieving links and names of images from a NextGEN gallery [closed]

I want to add a list (like a cd track list) of names and links to all images next my nextgen gallery, how can I retrieve this list? (similar to the list in the select object in the Gallery Settings, ...
7
votes
2answers
2k views

Is wp-content/install.php a Drop-in?

I cannot find documentation or discussions on what is and how to use Drop-in plugins. The question was raised in this Q&A, Populate content on install. Is a wp-content/install.php file that ...
2
votes
2answers
374 views

Add nav menu CSS class to body

I would like to add the CSS class of the current menu item (and the classes of its parents & ancestors) to the current page body classes. For example, if the current menu item has a CSS class ...
0
votes
1answer
48 views

Calling a plugin from a page template in TwentyEleven

I'm desperately trying to call a pretty simple-looking plugin (this one: http://wordpress.org/extend/plugins/wp-random-posts/ ) from a TwentyEleven page template. The goal being to get the thing to ...
3
votes
3answers
1k views

Specific featured image for each category

I´d like to set specific featured image for all posts in one category. So, if I have category Good Jokes, all posts in category Good Jokes will have the same featured image displayed in front page. ...
0
votes
1answer
418 views

Regenerate Thumbnails Plugin successfully updated my thumbnails but image src won't change to new image size?

I "successfully" regenerated my thumbnails using the Regenerate Thumbnails Plugin as I added a variety of new image sizes to my site; however, I'm having difficulty getting these new images sizes to ...
1
vote
2answers
176 views

Stop turning small dashes into longer ones

When I write my site's title, description, posts, pages, or a taxonomy description, small dashes &#45; are turned into longer, uglier ones &#8211;. Is there some way to stop this from ...
1
vote
2answers
691 views

order by multiple meta_keys?

Hi i'd like to order by multiple meta_keys want to make it order using these keys adminscore + user_like + _count-views_all + comment_count combine these keys how should i array order it?? i try ...
0
votes
1answer
3k views

Changing wp_link_pages() to “Next Page” and “Previous Page” buttons?

Currently I am using <!--nextpage--> to split a post into multiple pages, but I would like to change from Pages: 1 2 3 4 to Next Page and Previous Page links similar to what you see on this ...
1
vote
1answer
2k views

Ajax and WP_Query/tax_query parameter

After doing some extensive research, I've exhausted all my options and decided to actually ask a question here. I'm trying to get a filtered set of posts through AJAX using WP_Query and the tax_query ...
0
votes
1answer
412 views

How to create a second posts page which client can update

Bit of a wordpress novice and so just wanted to know the best way to do this. I am currently creating a wordpress site for a client. They have a Latest News section which is the primary 'blog'/posts ...
-1
votes
1answer
32 views

problem with not displaying content on selected pages

My objective - Display some code on every page apart from 2 pages. Now this code works fine with only one page (if its not is_home, display code)... <?php if (!is_home()) { ?> (some ...
-5
votes
2answers
2k views

Adding jquery using php function

I was turned down with this question because I get a php error and my question revolves around jquery, but when I take out the JQUERY everything works fine. * Again I'm creating a wordpress plugin. I ...
0
votes
1answer
275 views

Wordpress Queries Not Working?

//Display All Reviews function display_all_reviews( $query ) { if ( $query->is_home() && $query->is_main_query() ) { $query->set( 'tag', 'reviews' ); } } add_action( ...
5
votes
3answers
1k views

Populate content on install

I would like to know if there's a way to populate a WordPress site with some dummy content while installation process is going on. Let's say a few sample pages, a fews posts, taxonomy and that's it. ...
1
vote
0answers
44 views

Make change in media library affect images in published articles

Is there any way/plugin to make wordpress change the description/alt text/caption of an image used in already written articles if I change any of those texts of that specific image in the media ...
0
votes
1answer
3k views

Remember form field values with page navigation

I have a form on a page template that controls which posts show up on the page and how those posts are ordered. You can see what I mean here: http://www.theseattlevine.com/the-vine The questions I ...
1
vote
1answer
266 views

Using characters to separate menus in navigation bar

I’m attempting to modify my blog's navigation menu (http://reasonandfolly.com/) to replicate what is here: http://chimpchomp.us/ Two pieces represent a challenge: 1. The separators 2. The line on ...
0
votes
1answer
95 views

Showing code only on Front Page “Posts Page”

I have some code that I would only like to be displayed on the sidebar when on the blog (the page that displays the posts). Now I am using this code... <?php if(is_page('37')) { ?> ...Show ...
-1
votes
1answer
602 views

hide block of code from showing on certain pages

Just to warn you, I am a complete PHP novice! I have one sidebar for all pages, however I would like to display certain elements on this sidebar for certain pages. I know there are a few widget ...
0
votes
1answer
88 views

how to list subpages in sidebar without widget

I am trying to create a list of subpages of a parent page, which will appear in the sidebar of my wordpress site. This sidebar will appear on every page. So for example, I have a page with an ID of ...
0
votes
1answer
246 views

Pagination not working on homepage

I tried multiple solutions but its not working. When I go to /page/2, it doesn't work. I'm executing custom query in index.php of my theme. if ( get_query_var('paged') ) { $paged = ...
1
vote
2answers
3k views

Some Plugin Settings Are Kept After Removal and Reinstall of the Plugin

I have uninstalled and then reinstalled all my plugins hoping to restore my WordPress installation to its original state because I have problem with the funtion of RevieAzon plugin. For example, ...
-1
votes
1answer
233 views

Convert all uploaded PNG files to PNG-8 format

Running a high trafficed platform. In my quest to minimise bandwidth costs, I added a high JPEG compression on all JPEG uploads (check solution in my previous question). However, Wordpress does not ...
0
votes
1answer
108 views

URL problem: www.sitename.com/blog and www.sitename.com/learn using same WP installation

I'm sure there has to be some way to make this with single wordpress instalation. Posts for "learn" page are tagged with "learn" and I built a custom template that has loop that prints only posts from ...

15 30 50 per page