Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
28 views

Multiple Wordpress Pages

Not sure how to approach this one. I have a wordpress page that uses a mysql query to grab info from a database based on the page title. I basically want to replicate that page to 50 or so ...
0
votes
3answers
446 views

pull custom fields values from wp-database in a nested foreach loop

I am trying to display custom fields on my template values of which i am pulling from postmeta table doing something wrong with a loop or not writing the foreach args correctly not sure whats the ...
0
votes
1answer
34 views

Choose options via url

I wonder if it's possible to preselect options when creating new post via url. My goal is to bookmark links when i want to create post with specific options such as category and not to have to select ...
0
votes
1answer
123 views

Create advanced portal website with sections - taxonomy usage?

I would need your help. Please let me explain my needs. I need to create a portal-based website, and I have some doubts about the right way. The homepage will contain a few "sections". Each section ...
0
votes
1answer
124 views

How to create an user defined page?

I have created a file example.php in the default site directory. I want to have the facilities of an Dashboard-Created-Page like the theme,navigation bar,navigation bar, header,footer etc..
0
votes
2answers
583 views

Meta Box Plugin Cloned Fields - Multiple Foreach values

I have the following code that I can't get working. I have two cloneable fields that are being output as one entity (URL and thumbnail image). These are cloned fields using the Meta Box Plugin by ...
0
votes
1answer
432 views

How to include plugin function in theme's functions.php file

Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
0
votes
1answer
81 views

Create dashboard setting which lets me set ID of category which is inserted into template

Part of a function i'm using in my single.php page is $myposts = get_posts(array('numberposts' => 10, 'offset' => 0,'post_status'=>'publish','category' => 32)); I need to make the number ...
0
votes
1answer
263 views

trying to add custom landing page to Twenty Eleven- can't get rid of Twenty Eleven header/container? [duplicate]

Possible Duplicate: custom, static home page / landing page with Twenty Eleven theme? Live site. I'm trying to have a custom, static landing page added to the Twenty Eleven theme. So far, ...
0
votes
1answer
433 views

Custom Post Type Single Loop Outputting Wrong Post

I have been unable to get my single-portfolio.php template to behave properly. So I have a custom post type called portfolio. I am displaying all of those posts in the front-page.php and it works ...
0
votes
1answer
2k views

Custom Post Type Pagination 404 Error (if paged>=2) [duplicate]

I coded a WordPress theme. I added a Photo Gallery with custom post type. But if paged>=2, it gives 404 error. If you open my web site link and click Tümünü Göster (Show All) button, you can test ...
0
votes
1answer
375 views

wp_rewrite not working on third level url

I have the following code : global $wp; $wp->add_query_var('akey'); $wp->add_query_var('sort'); $wp->add_query_var('paged'); ...
0
votes
1answer
41 views

I would like to display different text on different pages

I have at the very top of my page a line of text within a h1 tag thet I use for seo reasons. the text and html around it is written in my header.php. but I would like to write differnet txt so it ...
0
votes
1answer
52 views

Custom Query for Taxonomy

What is the correct wpdb custom query for this: taxonomy=pa_main-genre&post_type=product&orderby=name&order=asc Basically i am trying to do is,list all the terms for pa_main-genre. ...
0
votes
2answers
1k views

add_rewrite_rule and template redirect not working

I have the following pairs: add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top'); if(is_page('ask')){ $tname = 'add-question.php'; ...
0
votes
1answer
110 views

Pronamic Info Window

I am using Pronamic Google Maps (http://wordpress.org/extend/plugins/pronamic-google-maps/) to add Google Maps to my post...I would like to do a couple of things: I noticed that the balloon, or info ...
0
votes
1answer
74 views

Semi-Private Comments + page comments -> is it possible?

is it possible to do this: User need to register and can only see comments written by himself or by an admin. Admins can see all comments create a profile page that user can see all their comments ...
0
votes
1answer
353 views

Custom Post Type Rewrite To Include Parent Page(s)

I have a page title "more" with subpage "cities-guide". Said "cities guide" page has a loop that pulls in posts from custom post type "thailife_city_guide". My permalink structure is ...
0
votes
1answer
78 views

How can I add more code to this?

<?php $my_query = new WP_Query( "cat=11&posts_per_page=1" ); if ( $my_query->have_posts() ) { while ( $my_query->have_posts() ) { $my_query->the_post(); ...
0
votes
1answer
228 views

How to fix vanilla comments extra iframe space

I am using the new vanilla comments on wordpress with my self hosted vanilla forums, but on every page, there is unnecesary iframe space. I was wondering how to fix that. My site is here and my forums ...
0
votes
1answer
77 views

adding custom meta as well as looping through posts

I am grabbing two sets of custom meta and looping through the posts, order goes: custom meta1, posts, custom meta2. but for some reason the second set of custom meta wont show up if I add the posts ...
0
votes
1answer
629 views

How does one programmatically manage posts from a external php script?

How does one create a post, assign it to a category, add tags to it and set the featured image from a PHP script that exists somewhere on disk (say /usr/local/process.php) and isn't part of the ...
0
votes
1answer
153 views

Edit the Publish Widget Options

Another noob question - under the 'Publish' widget in a default vanilla installation of WordPress 3.3.1, we would like to 'simplify' the Publish widget/ Specifically, we would like to have no 'draft' ...
0
votes
1answer
45 views

Add a filter to a different custom plugin

Someone has built a custom plugin that adds a textarea on the admin/edit page, and a div on the pub page. I no longer have access to the person who built the custom plugin. I have created a filter ...
0
votes
1answer
121 views

How to make number of blog posts a custom field?

I'm using advanced custom fields and I have the following code: <?php $args = array( 'numberposts' => 3 ); $lastposts = get_posts( $args ); foreach($lastposts as $post) : setup_postdata($post); ...
0
votes
1answer
615 views

How to remove the tagline from the HTML <title>?

I'm using the default Wordpress 2011 theme on a new blog I'm setting up. I've got everything basically setup fine for now. I have experience with PHP/MySQL and HTML/CSS, but haven't used WordPress as ...
0
votes
1answer
864 views

Change how WP e-Commerce calculates price total at checkout [closed]

My situation: I'm selling a few products. I need to get some options at checkout (like Do you want to add installation services?) that will affect the price, and I need to reference a custom ...
0
votes
1answer
263 views

Custom table or form

i need a form or table plugin that can be customized to do this: For example: I am a parcel shipping company. I need some form that can be filled out with shipping info. Later, customer logs on the ...
0
votes
1answer
82 views

Display ONLY Latest Post From Several Categories

I have searched for this solution on here and was not able to find one that worked for me so I apologize if this seems like a redundant question. I have several categories that I want to display ONLY ...
0
votes
2answers
468 views

get post custom value

I have a portfolio custom post type with a text field for a site link, I need to echo that link in the template page. What i have so far is this: <?php $site= ...
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
156 views

Theme Options Menu Item - Permission Issue

I am trying to create a theme options menu item for my custom theme. However, when I add the following piece of code in the functions.php file... add_menu_page('Page title', 'Asteria', ...
0
votes
1answer
1k views

Multiplile values checkbox or select in custom meta box

I have followed the great answer by Jan Fabry in this question . How to make multicheck for post/page meta box this works great. My question though would be , what if someone WANTS a serialized ...
0
votes
1answer
69 views

Setting variables as custom field values

I have a function that performs some custom queries to get specific information regarding a post (children count, dates, etc). I am wondering if it is possible to send this custom query info (set as ...
0
votes
3answers
152 views

Single page template

I am trying to create a template for a custom page type that will put the same data on every page of this type. The only problem is I see examples of custom page types but only using loops. Do I have ...
0
votes
1answer
1k views

How to make custom comment fields required and message field not required

I have a comment form that has name, email, brief, detailed and rating fields. The name, email, brief and rating need to be required, but the latter two are custom fields and I can only make them ...
0
votes
1answer
160 views

Should I go for Multisite or separate WP Installation?

I'm developing an article site where an user can register and post the articles and the URL would be like http://domain.com/articles/category-name/article-name The site will also be having a blog ...
0
votes
1answer
1k views

how to modify request to get_template_part()?

i am modifying a P2 theme for a specific purpose, and it uses the get_template_part( 'entry' ) function to get the the whole entry html. What i then get is the who <li> element, but i want to ...
0
votes
1answer
546 views

List all authors by matching custom meta data on a category page

I have a number of category terms act as placeholders for our departments. I than pull in those terms on the backend profile edit screen using Justin Tadlock's tutorial: ...
0
votes
1answer
46 views

Making a particular kind of search engine with Wordpress?

I would appreciate if I get to know details and how-to make a particular type of search engine with Wordpress,where users can submit/showcase their product and submit their listings of products.It ...
0
votes
1answer
477 views

Pagination problem with multiple loops on the same page

I'm using 4 custom loops to display 3 posts on each one and every loop has its own pagination which works fine once the page loads up, the problem is that when I click on the 2nd page of the first ...
0
votes
1answer
100 views

Best way to enable sorting by 3 criteria on a page of listings

If you go to this site: http://www.ec-ohio.com and click on one of the links in the Directory (left column of homepage) you generate a page with listings, and at the top of each page there's 3 links ...
0
votes
1answer
297 views

WordPress uploads directory. Featured Images storage

WordPress stores all uploads in: /uploads/year/month/ I want to store featured images of my custom post type like: /uploads/myCustomPostType/ No date subdirectories etc. I want all the files to ...
0
votes
3answers
2k views

How to add meta description, keywords, custom title to a category template

I use custom category templates for a few of my categories. Ex: cat-12.php and so on. I use the Fv Simpler Seo and presently it doesnt seem to support an option to edit category templates. ...
0
votes
1answer
437 views

Custom post type - columns order

So I have created a custom post type with custom values and customize my custom post type admin columns. You can see here how my custom post type is looking in admin panel. And as you can see I can ...
0
votes
1answer
162 views

How to Do Custom Fields to Output a Definition List

So, I'd like to add some custom write panels when you go to write a new post in the WP admin. I'd like it to have a heading for each, and then a text input field where I can write in some text. I ...
0
votes
2answers
498 views

[Custom field template plugin] Upload limited to 20 inputs file

am running the CFT plugin version 1.9.2 on a 3.1.3 wordpress site and in the admin i did set up 30 input file fields related to a custom post type. It all works fine until the 21st field (and beyond) ...
0
votes
2answers
155 views

custom post-type query just returns two posts

I'm making a custom activity calendar for a client here: http://arbeidshesten.com/aktivitetskalender/ The backend is a custom post type "aktiviteter", with custom fields for the date ("dato") and ...
0
votes
1answer
428 views

Cannot upload to S3 using CDN Sync Tool

I'm trying to synchronise my files with the Amazon S3 server for distribution using CloudFront, as the CDN. I am currently having troubles syncing the files though. I've verified that the details ...
0
votes
1answer
1k views

Wordpress loop problem: Multiple loops, index.php and is_paged causing duplicate posts on next page

Hey everyone. I'm not sure if what I'm experiencing is a result of a bug (due to the recent upgrade to 3.1.2) or poor coding. Ever since i upgraded to version 3.1.2 ive been experiencing a problem ...