2
votes
1answer
295 views

Plugin to hide admin menu (vertical menu bar)

I am learning to write WordPress plugin and testing out a simple case: hide the admin bar base on user role. So far I have the following in my plugin file: $hidemenu= new HideMenu(); class HideMenu ...
1
vote
1answer
340 views

How to set up pagination [closed]

This sounds simple enough but I'm finding it impossible to implement. This is my website, you can see that on the homepage there are post excerpts but I am only showing 15 posts out of about 25 by ...
2
votes
1answer
448 views

Plugin to require Twitter or Facebook login before posting a comment [closed]

There are similar questions to this one (e.g. A plugin where users can comment with Facebook or Twitter or OpenID or Twitter/Facebook login for comments) but none of it fully addresses my scenario so ...
1
vote
2answers
747 views

How do I permanently Disable Attachment Post URL

How can I get rid of the attachment URLs completely? I don't want users to have the ability to link an image to the Attachment URL when inserting an image, ever. I've done things in the past like ...
1
vote
2answers
877 views

How to transfer changes from test environment to live site?

As with most other software it's safer to try new plugins, configuration options or template changes in a separate testing environment, see e.g. WordPress local development environment. Most ...
0
votes
2answers
873 views

Best way to style first post differently?

I am building a custom (child) theme and I want to style the first post of my loop in a different way than the others (bigger image, different position of some stuff). Which is the best way of doing ...
4
votes
3answers
1k views

Best Way to Create a List of Musician Gigs in WordPress

I am currently designing a musician's wordpress theme, and am looking to create a user-controlled dynamic gig list. I've done this before using PHP, but am wondering what the best way to do it in ...
6
votes
3answers
1k views

Child Theme vs Duplicate Theme Renamed

Okay, I quite often see people talk about child themes and the reasons for using them instead of modifying the existing theme, but they all seem to center around the idea that if the parent theme is ...
1
vote
1answer
2k views

Allow single quote in URLs

I have a WordPress site hosted on a Go Daddy server running Apache. My experience is on Windows IIS, so this might be an easy question, but I can't figure it out. I want to allow URLs at my site like: ...
-1
votes
2answers
392 views

Moving Categories submenu to Media, but still opens Posts menu

I'm developing a very media-centered site with WordPress and am using the default categories and tags on uploaded media using, in part this plugin Media Categories. I am displaying a sub-menu item ...
0
votes
2answers
165 views

Removing the advanced menu properties

As I'm often involved with people who don't know anything about WordPress, a CMS or even the internet :) I try to hide things irrelevant (for them) as much as possible. Normally this would involve ...
2
votes
1answer
584 views

Upgraded from 2.8.x to 3.3.1 and lost content

First of all I did a manual upgrade of the wordpress site. I did everything by the book. I disabled all plugins, did all the backups. I upgraded to the new version, everything went fine. Only that I ...
1
vote
1answer
1k views

Add a special filter link to All Posts in admin

I have a featured posts slider on my site's front page. It displays n posts (5 right now) from the category featured. If I have 5 posts in that category, and publish a 6th, the oldest of the 6 doesn't ...
5
votes
1answer
550 views

Content over 10,000 characters won't display with the_content()

A friend of mine just noticed that their site wasn't displaying pages that had a lot of content. For some reason they are just blank, and if he removes some content from the page it will display ...
2
votes
2answers
1k views

Customising rewrite rules for CPT single post URL to work as paged URL

I've got a CPT called Service registered as following: $args = array( 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'has_archive' => false, ...
0
votes
1answer
138 views

TN3 Plugin Not Working Under IIS / WebMatrix

Has anybody been able to get the TN3 Plugin running under Windows IIS? I'm also having trouble viewing anytype of logs to see whats happening. It installs/activates successfully. It also successfully ...
2
votes
1answer
794 views

Overiding functions.php with child-theme

I've been searching for a proper solution to override functions and hooks in my parent theme's functions.php. My parent theme has: define('TS_INC', TEMPLATEPATH .'/inc'); require_once( TS_INC ...
1
vote
2answers
408 views

WordPress Caching - Transients API or “update_user_meta ” Cronjob?

I'm trying to set user meta based on queries. Basically, things like IF the query returns true, set this or if not, set this (or don't set it, if it is true). This works great but the problem is I ...
1
vote
2answers
392 views

List taxonomy term “Last Name” + “First Name” (taxonomy custom field) in a post loop

I have a few custom fields for a taxonomy "Author". The term title is the Author's last name, and one of the custom fields is his first_name. Now I need, in a post loop, to list all "Authors" of that ...
0
votes
2answers
381 views

Second wp_query doesn't appear to be working

I've set up this query in Wordpress to find all associated news for a company: <h2 class="heading">Related News</h2> <?php $link = get_the_title(); ?> <?php ...
0
votes
1answer
258 views

Query posts and filter at query time by value of custom meta

I have a wordpress query for a custom post type, but I want to filter the results depending on the value of a custom meta. <?php $my_query = new ...
0
votes
2answers
383 views

wordpress $wpdb works only once

I am working on a plugin that needs to run many different queries. I created a class that has many functions and all these functions runs different queries. A DAL basically. Now when I call these ...
2
votes
0answers
253 views

Removing the title attribute from links in the post content

When using the WYSIWYG editor to create links, and selecting an existing page or post from the selection list, those links will have a title attribute by default. Is there a simple way of turning off ...
0
votes
1answer
647 views

Trouble in creating a custom template on twentyeleven theme

I am trying to extend the twentyeleven theme's sidebar template. My custom template (its incomplete) is as follows: <?php /** * Template Name: Quote Request * Description: A Page Template that ...
4
votes
1answer
1k views

How to use Plupload in themes

I am developing a theme which needs uploading from front-end. I want to integrate plupload in my theme while keeping in mind that: Uploading will be handled upon form submission, and not from the ...
2
votes
3answers
3k views

the_excerpt() not showing manual excerpt for Pages

I have enabled the excerpt feature for pages in my wordpress theme - add_action( 'init', 'my_add_excerpts_to_pages' ); function my_add_excerpts_to_pages() { add_post_type_support( ...
0
votes
1answer
119 views

How can assign posting to Subscriber to specific category?

I'd like to permit posting(writing) to "Subscriber"group to a specific category. How can I do it?
0
votes
2answers
202 views

Comparing permalink to url

I'm trying to compare the permalink with a url and then output stuff depending if they match. At the moment I have the code below. On the page it's visibly showing that the permalink and the url (i.e ...
1
vote
3answers
5k views

Is it possible to import NextGen Galleries into Wordpress Galleries and convert embeds in all posts? [closed]

Let me explain — Until now, I have been using NextGen Gallery, and since I have a redesigned website that has image.php template (gallery attachments page), I would like to use Wordpress' built-in ...
-1
votes
1answer
664 views

Inserting a shortcode into a genesis menu?

I'm trying to insert a shortcode as the last item in a menu but it results in creating the <li> but then throwing the shortcode output elsewhere, outside of the list. It also removes the closing ...
2
votes
1answer
195 views

Handling the response sent from a ruby on rails application in wordpress

I am using my rails application to send data to a wordpress site. Basically if a user has wrong password, I am going to end the reverse proxy and redirect the user back to the wordpress site but I ...
1
vote
2answers
231 views

Is having thousands of unique categories a concern?

I'm in the process of creating a lyrics website using WordPress. Each post consists of a song, and I figured for ease to make each category represent the song artist. With this in mind, the site will ...
0
votes
2answers
31 views

Host Images from Link

Recently, I imported all my post from Blogger, so all the images showing in the post currently reside on Blogger's server. I want to import/put all those images to my server and automatically change ...
0
votes
1answer
441 views

How to extract specific image meta for all images?

Been hitting my head against a wall for a couple weeks... I'm working on modifying a geotagging Wordpress plugin called Thesography. I have notified the developer of my past enhancements, and they are ...
6
votes
1answer
2k views

Settings API - easiest way of validating checkboxes?

I'm using Settings API and I can't get checkboxes to work, if they're set to "false" they're not even being $_POST and that's the point. Stephen Harris & Chip Bennett explained it, but I believe ...
1
vote
1answer
3k views

Posting Instagram Photos Automatically

I'd like to post my Instagram photos to my WordPress blog. I cannot use one of the many existing Instagram plugins, though, because those plugins simply post the images on my blog but they are still ...
1
vote
0answers
451 views

Image caption with apostrophe breaks the text with qTranslate [closed]

I created my own theme and I use on two different websites, along with a very few plugins (among them, qTranslate!). I noticed that recently (I don't think it was happening before) that all my image ...
0
votes
1answer
76 views

My plugin does not install correctly if a previous version is still installed

My plugin only installs correctly if the user first deactivates and then deletes a previously installed version. If they do not delete the previous version, the installation either does not complete ...
4
votes
2answers
656 views

Geo Sorting Post

I wanna sort all post by GEO Location.Can you provide me an idea on how can I do that. When user submit a post, should I ask for a location as a tag but at the same time I wanna have tags to work as ...
1
vote
1answer
1k views

Show only oldest post by author

I am working with a heavily customized install of WP. I've set up a specific post type, taxonomy, and roles that gets to use just that post type. Ideally, I'd like to restrict members of that role ...
0
votes
1answer
7k views

WP Query to get all posts (including in draft/pending review)

I currently have the following query: $args = array( 'post_type' => 'post', 'orderby' => 'title', 'order' => 'ASC', ...
0
votes
1answer
735 views

How to save TinyMCE fields on Wordpress custom post type?

I have a custom post type "career_opportunities" with a "responsibilities" textarea box: <p><label for="responsibilities">Responsibilities</label></p> ...
0
votes
1answer
232 views

Use of antispambot with $curauth->email

This is probably pretty simple, but... I want to use the WP function antispambot not on get_the_author_email but on a value in a field I added to User Profile called publicemail. Everything I've ...
0
votes
2answers
2k views

Alter BuddyPress member search to include search on added profile fields [closed]

I added a "company" field to member profiles via s2member plugin. However, this field is not included in the "member" search. For instance, when I search on the name of a company (when I know the ...
0
votes
1answer
132 views

Get post related on category

it's a catalog website for different product. I need a function that will get the category of the selected product, and get all the product from that category Let see an example. A table, is in wood ...
0
votes
2answers
906 views

Add custom taxonomy to title tag [closed]

I'm using Yoast's WordPress SEO plugin for a variety of websites. In setting title tag templates with his %%category%% syntax, I've figured out that you can reference custom fields by using ...
4
votes
2answers
4k views

How to make my front page display only the most recent sticky post, plus usual widgets?

WP 3.3.1, Suffusion 4.0.2 I am trying to figure out how to make my front page display only the most recent post marked sticky. I can't find how to do this in the documentation. What I'm trying to ...
4
votes
4answers
336 views

Does the number of widgets installed affect website performance?

Does a website slow down or under perform in any way with a large number of widgets installed?
0
votes
2answers
527 views

Why is get_the_category() saying that I have two categories?

My post has only one category. The following code: $categories = get_the_category(); gives me this result: Array ( [0] => stdClass Object ( [term_id] => 22 ...
2
votes
2answers
327 views

Styleswitcher or themeswitcher to allow user to switch back to standard view from mobile device

I created a mobile version of my site with CSS, with all my styles in a single stylesheet (using @media only screen and (max-width: 480px), only screen and (max-device-width: 480px) to define mobile ...

15 30 50 per page