0
votes
1answer
2k views

Trying to use Advanced Custom Fields with custom image sizes

I have a product section on my wp-site. I am trying to display the attached thumbnail image in specific sizes that are automatically cropped to the right size. I have used Advanced Custom Fields to ...
0
votes
2answers
329 views

How do I use just one category' posts on my home page?

I have mainly protected categories, but I have one open category, how can I set it up so I load only the open catgeory posts to show on my home page
1
vote
1answer
189 views

Remove Admin sidebar link

I have a taxonomy link in my admin sidebar i'd like removed from view. Only in the sidebar though, i will still be using the function in the post view, so if that creates problems a simple simple ...
0
votes
1answer
365 views

Show buddypress profile fields in a multsite blog [closed]

I want to show my users profile fields in theirs child blogs of my site. On the main template i use <? echo bp_get_profile_field_data( 'field=Name'); ?> On the child theme that i use for my ...
0
votes
1answer
587 views

Inserting custom fields into single.php

I am trying to get a custom field to show straight after the main body of text in single.php BUT before the Outbrain and Facebook Connect boxes. If I put the line to show the address above <?php ...
0
votes
1answer
451 views

Auto create Nextgen Gallery on post creation [closed]

I was wondering if there is a way to create a nextgen gallery with a function, so that I can hook that into my front end post creation setup. The gallery could be completely empty or be created with ...
-1
votes
3answers
144 views

Programatically add a page in Wordpress

I am trying to add a page to WordPress programatically. I am using this code: function add_media_page(){ if(!(is_page('My New Post'))){ // Create post object $my_post = array( 'post_title' ...
1
vote
1answer
310 views

What is the “proper” way to generate a javascript variable depending on a custom field value?

On my site I have some posts with a custom field "Name". Now, in case the post has "Name" set, I want to generate this code: <script type='text/javascript'> var FG_DONATE_BUTTON_PARAMS = { ...
2
votes
1answer
710 views

Create unique robots.txt for every site on multisite-installation

Does anyone know how I can have a unique robots.txt file for every domain served by my wp-multisite-installation? I did a search on plugins but couldn't find anything suitable.
1
vote
2answers
245 views

Built in audio player?

I was certain that WordPress had built in a basic audio player. Am I mistaken. I cant find any evidence of one anywhere, just plugins ?
-1
votes
1answer
588 views

Customize Multi-Column Tag Map to fetch specific post-type

I'm using a plugin called "Multi-Column Tag Map" that lets you display all tags that were used and arrange them in a alphabetical order. This plugin works fine in a regular post-type but It's not ...
2
votes
2answers
470 views

How WordPress converts URL to $query_string

My home.php shows a list of (N) posts and << Previous & Next >> links. When clicked, I want to fetch previous/next list of (N) posts using Ajax. This is: I do NOT want to load the entire ...
1
vote
1answer
1k views

How to order images in a post in Wordpress 3.3?

In wordpress 3.2 when uploading images to a post, I would get a Gallery that is linked to the post. That is, I could see in the media uploader of the post a tab that contains only the images of this ...
0
votes
4answers
3k views

How can I redirect mobile users to diff url, but also allow them to come back to full site

this is pretty straight forward: How do I redirect mobile users to /mobile, but still allow them to click a "Full site" button and see the full site without being redirected again back to the mobile ...
0
votes
2answers
3k views

Dropdown primary navigation menu not working

I have installed a theme on WordPress added pages, created a custom menu called Primary Nav. I have then assigned this as my Primary Menu. I have child pages and the menu looks like this. I have ...
0
votes
1answer
49 views

Help with Wp Query

I have a custom post type, and using wp query I am wanting to display posts only by authors with a specific role. How can I go about doing this?
1
vote
1answer
195 views

WordPress as a web app - always auto-save post and meta data

Is is possible to make WordPress auto-save revisiona more often and have the auto-save version always be the most recent version - Like the way google docs works. This would mean the update button is ...
2
votes
1answer
628 views

Get Stylesheet To Showup in WP Admin Panel Editor

So I have a css file that is called blue.css and a universal one called style.css I have a few css colors inside a /css folder. How do I get all those css files to show up in my Admin panel editor?
0
votes
1answer
52 views

Most allowed Taxonomies in Appearance->Menus

I am managing a large list(300) of "places" taxonomies, and I need to create a menu with those places. the WordPress menu system seems like the way to go but when I save the menu I am getting a PHP ...
0
votes
1answer
589 views

Creating new templates in child themes breaks layout

I am learning how to create new templates in WP. I am using a child theme of Twenty Eleven. My problem is that whenever I create a new template the layout breaks. For debugging I stopped using any ...
1
vote
1answer
3k views

Buddypress get member meta info for specific user ID [closed]

I am trying to create a 'featured member' widget for a Buddypress site, and am using cimy extra fields to add the 'is featured user' checkbox. I have some extra user meta fields that were created ...
0
votes
1answer
802 views

Can't Access Sessions or Variables through pages

So I'm trying to use a session to move a variable through pages. For some reason I literally cannot access anything from index.php to archive. I declare my session at the very top of my header.php ...
3
votes
2answers
2k views

How do I create a WP user outside of Wordpress and auto login?

I've built a directory of members on a non-WP site (using php and mysql). Each member can log in and update their details using a username and password. I want to be able to get this to automatically ...
0
votes
1answer
1k views

Getting a person's username from a wordpress cookie

My friend has a code that will allow users to receive a special key to gain access into into the closed/open beta event for any game they select. When a person is logged in, they can click on a link ...
0
votes
2answers
1k views

Why does my site flash white every time it changes page? [closed]

Any ideas? I've never had this problem before. Here is the site.
8
votes
3answers
6k views

How to remove Biography from user profile admin page

I would like to remove or hide the Biography input field from the profile page. How do you do this? I already removed some contact methods from this page, but I'm not sure how to get rid of the ...
3
votes
1answer
548 views

Edit the output of wp_widget_rss_output()

I want to show rss feed in my dashboard widget, i use this code: wp_widget_rss_output(array( 'url' => 'http://www.example.com/', 'title' => __( 'Some Title' ), ...
4
votes
1answer
1k views

handling login/logout redirects

I have a couple issues with the way Wordpress handles redirects on login and logout. Standard behaviour is: login: /wp-login.php (with no redirect_to url) -> /wp-admin.php logout: /wp-admin.php ...
1
vote
2answers
1k views

Wordpress ignoring specified template for front page. Why?

I'm using the Roots theme which with custom css. I'm using the page "Home" as the front page the page "Blog" as the blog page (in WP reading settings) I'm trying to set the front page "Home" to use ...
0
votes
2answers
231 views

Advanced Permalinks plugin breaks RSS

The plugin Advanced Permalinks breaks the RSS feed since Wordpress version 3.1. The developer has stopped working on the plugin, and I haven't seen any solution for it. Since my site is dependent on ...
2
votes
3answers
397 views

Make post password required to publish

I am making a site which will only have password protected pages. I would like it so that the password box is open by default, and is a required fields to publish the post. Ideally I would also remove ...
0
votes
1answer
466 views

Using categories on navigation bar instead of pages

Check this URL www.linuxstall.com. The top navigation bar has one page (about us). I want the categories there, not pages. How can I do that?
0
votes
1answer
120 views

Using categories on navigation bar instead of pages

Check this url (www.linuxstall.com). The top navigation bar has one page (about us). I want the categories there, not pages. How can I do that?
0
votes
1answer
3k views

query_posts doesnt show pages with given ID when post_type => page

At the moment I am working on a WP-site, which on the frontpages has 3 excerpts of other pages on it. The code I am trying to use for this is as following: <?php query_posts(array('post_type' ...
0
votes
1answer
81 views

Post variables not displaying correctly in custom function

There seems to be something wrong with the simple function below, but I can't figure out what it is. It is displaying as the following and I can't figure out why. I know it has something to do with ...
0
votes
1answer
29 views

How do I output a list of a specific post type in a table?

I've used the Custom Content Type Manager plugin to create a new post type of "Job". It includes a couple custom fields for "Location" and "Job Type". I have a page called "Jobs", and now I'd like to ...
1
vote
2answers
1k views

Disable image resizing on specific upload fields

I am using the Options Framework Theme from devinsays, but am having a "small" problem with the Image Upload functionality. Basically, I need to disable resizing on a specific upload-field, but keep ...
0
votes
1answer
160 views

Navigate by Tags inside a custom Post Type

I want to have the possibility of navigate by 'standard Tags' inside my custom post type 'Car', like the following: http://www.example.com/car/toyota http://www.example.com/car/blue Of ...
17
votes
5answers
12k views

What are the standard admin CSS id/class tags?

Is there a list of WordPress CSS id/classes that i can use to build plugin option screens that look and feel more like a normal WordPress option page? i have found some through serendipity but it ...
1
vote
1answer
326 views

How can I rewrite a URL to pass requests to a custom method via AJAX? (I can't use admin-ajax.php)

I have to build a WordPress plugin which gives out HTML for an AJAX call. However, because of the server environment I cannot use the traditional admin-ajax.php. Someone told me that I could build a ...
0
votes
1answer
1k views

How do I display a list showing custom post types nested within a taxonomy?

So I have a custom post type called Video and a taxonomy called category that I use to group videos togheter, so I want to list them like this: Taxonomy NAME 1 VIDEO 1 VODEO 2 Taxonomy NAME 2 Video ...
0
votes
1answer
155 views

Wordpress custom post type and taxonomy

So I have a custom post type called Video and a taxonomy called category that I use to group videos togheter, so I want to list them like this: Taxonomy NAME 1 VIDEO 1 VODEO 2 Taxonomy NAME 2 Video ...
1
vote
3answers
2k views

Help With MySQL to WPDB Query Conversion

I have a problem. I've got a PHP script that tracks individual file downloads, and I'm looking for a way to display that number in individual posts. I've got a half-baked solution- a plain ol' MySQL ...
2
votes
1answer
393 views

Previous & Next on Index Page broken

So the Next/Previuos on my index page is broken. It goes to page 2 but doesn't refresh the posts. It will work on my categories and it will work on my posts but it just won't work on the from page. ...
1
vote
1answer
776 views

hide specific categories from showing

I'm trying to hide specific categories from showing up on a portfolio home page. I was told that this was the concerned line of code on the php template file <span ...
0
votes
1answer
208 views

Trying to show link “Use as featured image” from Attachment window from t31os script

i found this great script from t31os that give me the chance to hide fields and buttons when we have to add images on a post in wordpress. function myAttachmentFields($form_fields, $post) { // Can ...
3
votes
1answer
6k views

How to get comments by post ID?

I have this custom post query to list all the posts within a specific category. For example I have this: $args = array('cat' => 'home','post_type' => 'post')); $post_obj = new WP_Query($args); ...
0
votes
2answers
129 views

Can this site be built using wordpress?

I want to know if this site can be built with wordpress, I'm a programmer and I don't know anything about wordpress, how I'm just to get some good advices from you guys: The main aim of the site is ...
-1
votes
2answers
641 views

Differentiate Between Parent & Child Categories

So I'm working with a non-wordpress theme called "Misty" and it uses this code to pull categories: <li class="sidebox"> <h3><?php _e('Categories','ml'); ?></h3> <ul ...
0
votes
2answers
322 views

How to use one git (github) repository for version control for multiple themes

I have built and maintain many themes for various clients. I'd like to be able to put them all in github for lovely version control. However github gets a bit expensive when you have over 20 private ...

15 30 50 per page