Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

1
vote
1answer
391 views

Animated gif for a thumbs

I need to insert an animated gif for a feature image but I don't understand if is possible. Right now when I try to upload a gif, wordpress create automatically a gif single frame. Is it possible ...
0
votes
1answer
104 views

What's the best way to show custom post types? With page template it's not perfect!

I created a custom post type with name career. I would like to know what's the best way to list the posts. I created a page template with a query inside, but the pager is invisible. I don't know ...
-1
votes
1answer
65 views

Custom permalinks structure

I would like to have this structure: www.mysite.com/2013 (must show all posts of 2013) www.mysite.com/my-category/2013 (must show all posts of 2013 and of category "my-category") ...
0
votes
1answer
337 views

Wordpress live, custom text box validation, how to?

I am teaching British Sign Language on my website, on the alphabet section I have an image of 'signs' that spell out a word. Below I would like a text box that requires the user to input the correct ...
1
vote
1answer
68 views

Wordpress Custom post query sorting does not work

I created a custom WP query to collect products that have 3 different taxonomy values in them and sorted them by price using the following: $my_products = new WP_Query( array( ...
-1
votes
1answer
36 views

how to add a page

It's probably really simple, but i can't figured out, i have a php file and 3 folders css, js( with inside libs ), and image. so i put the php file and the css inside the theme root, the js in /js ...
0
votes
2answers
238 views

Where does Wordpress store the users customization in the theme

Good Day When you are inside the wordpress ctrl panel, and you edit/create posts, do theme changes etc, where does Wordpress store all that content? In which files? Thank you
0
votes
1answer
89 views

Two Custom Post Types with Identical Articles Competing for the same Slug

I have created two custom post types, each with it's own slug. Each custom post type contains some articles with the same title. So ideally I would have . . customposttype1/mainarticle/ ...
0
votes
1answer
547 views

Load more posts with multiple queries

I've been developing a theme which uses the load more ajax plugin, everything is setup and working great with the main query. But, once I setup a new query for popular posts, the load more posts ...
0
votes
2answers
2k views

SQL query to get posts from multiple categories but not in a category

I need to get the last posts' ID and the post_tile within categories 1 and 2, and exclude those within category 3. It must be SQL, because if I use WP_Query it retrieves too much info and I only need ...
-3
votes
1answer
350 views

Add Custom postmeta Fields to Custom Post Type RSS in wordpress

function add_custom_fields_to_rss() { if(get_post_type() == 'my_custom_post_type' && $my_meta_value = get_post_meta(get_the_ID(), 'my_meta_key', true)) { ?> ...
0
votes
1answer
2k views

How to open a lightbox form from a navigation menu item

I want to add a custom menu item to the main navigation menu, On clicking this item I want to open a lightbox form. I have the form-shortcode ready to be placed but on a page but I don't know how to ...
0
votes
1answer
278 views

Kohana Frontend, Wordpress Backend

I love Kohana code, I don't love Wordpress code. I need to upgrade a blog to have a custom theme, very custom with Grid style blog roll (like Pinterest) and Traditional Blog Roll, and fully ...
0
votes
1answer
140 views

Search results load individual post in slide out div

Hi this is more of a solution and advice question. I want to search my wordpress site and load the search results in a very typical way (unordered list with title, image and excerpt). Upon ...
1
vote
1answer
264 views

Better Method for Multiple Meta Boxes

I'm learning about meta boxes and have gotten them to appear on my local dev, but I can't figure out how to avoid creating new functions for saving multiple meta boxes. I assume that I could call an ...
1
vote
1answer
267 views

Custom title, Bones theme

I'm a total wordpress noob and ran into my first problem. I downloaded this theme. My question is how do I change how the p#logo.h1 is shown. I would like to put a <br /> in the middle of my ...
0
votes
1answer
235 views

Share user access between two wordpress sites

Can I share user session or cookie between two entirely different websites. I have two websites www.xxx.com and www.yyy.com(different wp installation). While logged user clicks on a link page from ...
1
vote
0answers
40 views

How to structure model showcase

I need to make a website of models that contain the following components: Model page - model info, editorials of that particular model Editorial page - containing some editorial info, link back to ...
0
votes
1answer
702 views

Properly customizing login/register form

I'm working on a customized login form for WordPress. I noticed that it's pretty difficult to achieve what I wanted. Here's the HTML of the form: <form method="post" action="<?php ...
0
votes
1answer
543 views

pagination does not work with query_posts. Help! [duplicate]

I made ​​a separate page template (added sidebar), this page contains all the posts. Pagination works! But, if this page set as the home page, pagination is not working! Please help find solutions ...
0
votes
2answers
2k views

Make pages visible to only logged in members

I want to make a page for each user on my website. When a user logs in, I want them to be able to click on pages that are just designed for them (basically when they log in, I want them to be able to ...
2
votes
2answers
74 views

multiple comment text areas

I need to create a user comment form with three text areas and then display them in comments. I don't know where to start - cannot find any plugin but would like to code it anyway. Any pointers much ...
0
votes
1answer
2k views

Get author full name

I'm trying to display the first and last name of an author without having to change the "Display publicly as..." setting. Problem is, I can only seem to find solutions for either or, or at best ...
0
votes
1answer
76 views

Help with listing current users submitted custom post type in template file

I have the following code to list the member's post that they created. However it is listing all posts. Anyone know how to fix it? Thank you! <?php if ( is_user_logged_in() ) { global ...
0
votes
1answer
382 views

Don't change Custom Post Type slug to unique value

I have a situation where it is needed that if I create two CPT pages wich both have the same name and the same slug. For example, if I add two CPT pages, wich both called "Post Name": The first slug ...
1
vote
0answers
185 views

Admin search post meta

I have currently built a property database using WordPress and am purely using the back-end for the whole job. I am listing all the properties and used a plugin called "Easy Filter" to add custom ...
2
votes
1answer
497 views

Modify Javascript Configuration Options for Theme Customizer Colour Picker

I've started fully integrating the Wordpress Theme Customisation API into my Wordpress theme and it's phenomenal. One issue I've encountered is that including the default colour picker is great, but I ...
0
votes
2answers
1k views

Change the way wordpress outputs images or image galleries

The title is the short version of the question. Here's what I need in more details... If the answer is not so simple, I would be glad if you can point me to the right direction with a tutorial or to ...
0
votes
2answers
70 views

Create a child Theme or custom Theme

I am new in WP but I 've good knowledge of HTML and CSS. However, my PhP knowledge merely covers some basics. I also have good knowledge of Joomla but I wanted to give WP a chance. I need to make a ...
0
votes
1answer
151 views

Best Way To Structure 3 Tiered Site

I'm starting a quote site using Wordpress. I'm wondering what would be the best way to structure the site considering the fact that I'd like to include a lot of static content on the tier 2 pages. ...
5
votes
5answers
2k views

Add separator to admin submenu

I would like to add a separator to the admin submenu section, NOT in the top level section. I'm thinking of using javascript and styling to do the job, but I was wondering if there's a more ...
0
votes
1answer
2k views

How to change the wp_upload_dir() path in plugin

I am using one plugin to upload all the client files. By default all the uploading files stored in the path wp-content/uploads/-plugin-name- . How to store all my files in my custom directory that ...
1
vote
1answer
419 views

Random Default Avatar Function

UPDATE! After a little help from the wordpress.org forums, I made some progress with this code: // Custom Default Avatar if ( !function_exists('fb_addgravatar') ) { function fb_addgravatar( ...
0
votes
1answer
86 views

Accessing + retrieving custom database in WordPress

I am looking for something really simple(?). I am using WordPress as a CMS. I created a new page in which I added a form (questionnaire). Inside WordPress' database (the same database in which all ...
10
votes
2answers
1k views

Specific upload folder for PDFs in custom Post type in WP multisite

I need to filter uploads to a specific folder for a custom-post type called "document" only for PDFs. So far, I have: function custom_upload_directory( $args ) { $base_directory = ...
1
vote
1answer
3k views

Filter results with custom field values and dropdown

I need to filter posts by a custom field value. My specific example: User browse to products > category 1 > subcategory A. ALL "subcategory A" items (products custom post type) are displayed as ...
2
votes
1answer
41 views

Custom Taxonomy conditionals

So I have setup a custom post type 'products' and custom taxonomies / categories 'defence' 'law & enforcement' and 'Commercial'. I have using the following conditional to set some specific css ...
0
votes
1answer
144 views

How to remove a settings section from the Theme Customization API preview pane?

I am currently working on a theme that uses the Wordpress Customization API and I need to remove some pre-existing sections from the customization preview pane. Is there somewhere like a global ...
2
votes
2answers
473 views

Create pages automatically if they don't exist

I have a WPMU instance that works less like a network of blogs and more like a holistic application. I'm needing to do a check and see if 3 pages with the slugs 'home', 'login', and 'password' exist. ...
0
votes
0answers
27 views

Plugin “virtual” page [duplicate]

Possible Duplicate: How to Rewrite Wordpress URL for a Plugin Question I am trying to create a plugin that adds an additional page to a Wordpress public site and allows the plugin to ...
0
votes
2answers
32 views

Need custom picture field for pages

I want to have a picture or multiple pictures on each page in wordpress. AFAIK there are two standart ways of doing this in WYSIWYG editor, attach file etc widgets. Problem is, those wont do for ...
0
votes
1answer
190 views

Custom Post Type archive

Hey all first off im a WP newbie so go easy! Ive been searching for a couple of days now to see if I can find the answer to this but cant get anything definitive. I have a custom post type called ...
2
votes
2answers
2k views

Redirect old permalinks to new permalinks

I changed the permalink structure from /%category%/%postname%/ to /%year%/%monthnum%/%postname%// How can I redirect all old posts to the new ones (eg: via htaccess)?
2
votes
1answer
150 views

Making a configurable field translatable

I'm working on a theme right now that gives the admin the possibility to set different texts that are used within the theme, by configuring them in the admin panel (e.g. the text that is displayed, ...
1
vote
1answer
310 views

How to Create a Custom Panel and Fields in Post Page [Plugin]

I would like to write a custom plugin that adds a custom panel below the post compose panel that will have a few fields and a submit button. JS will kick-in to submit content to the database, without ...
2
votes
1answer
542 views

Post thumbnail relative link and HTML modify

I want to remove the website url from all the_post_thumbnail() so they become relative and remove/add attributes from the output. So far I got the following code added to functions.php of the theme, ...
0
votes
1answer
69 views

How to apply order on custom taxonomy and custom meta key on custom post type

Here is the code in am using $arg= array( 'post_type' => 'vr_listing', 'tax_query' => array( array( 'taxonomy' => 'vr_listing_status', 'field' => ...
0
votes
1answer
136 views

How to create this kind of sub-menu in new line?

In my design I need use this kind of wordpress custom menu. Menu (I am able to do this) Menu element with sub menu. (but not this one) In this UI , I can not able to separate sub-menu to the new ...
1
vote
1answer
233 views

Permalink structure by Post Meta value

I have the following issue: Two Custom Post Types, lets call them cpt1 and cpt2. In cpt2, I have a custom meta box in which you can select a post from cpt1, its post ID is stored in a meta value ...
0
votes
1answer
121 views

How can i display on front page a movie that is atached in a post type

Im building a cinema site, In post's i store the Movies I have a post_type name "box-office" , this post type have 1-10 custom fields, with i can select the movies stored in post's. locul_1 - is one ...