Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

1
vote
2answers
508 views

Post selector as Custom Field

I would like to add a custom field for user to select a existing post or page to a post. (eg as related post, or as similar post...) a way that the user can browse trough exisisting and published ...
0
votes
1answer
164 views

Get a different size of Image thumbnail While working with custom metabox

I am using custom metabox for a page in my new project, I am using it for uploading image, and attaching it to the page. It's working fine, I can select image or upload the image using WordPress' ...
0
votes
2answers
67 views

Custom search by several options send on form not works

I am using the Advanced Custom Field Plugin to add custom fields for the users profiles and display a list of users in the frontend of site with Simple User Listing Plugin. I need to filter a list of ...
0
votes
0answers
87 views

Add a header above blog posts but below page header

How do I add an image to my blog page. I want it to appear under the page header but before the blog posts. It will be a static image (masthead for the blog). This is the address for the page: ...
0
votes
0answers
53 views

Show list of posts only on category site

I used the following code to create a list of my custom categories and custom post types: <ul> <?php $custom_terms = get_terms('project_category', ...
0
votes
0answers
110 views

Order custom fields by string length

I am trying to reorder a custom field from one of my Custom Post Types. I'd like to get the custom field string which is called 'first name' and order all of the first names by their string length. ...
1
vote
1answer
87 views

Custom attachments styling in post view

I am looking for easy styling list of .doc attachments in post. For example i want to put every in <li></li> tags and do some proper styling. So far I am get my post content this way: ...
0
votes
1answer
271 views

Client Profiles

Looking to find the best approach to creating a client database. Would a plugin be best to achieve the following? My Client Database plugin Store personal information and statistics about the ...
0
votes
1answer
177 views

Multiple Block Quotes without using HTML

First of all, I have a client that has no HTML knowledge. He wants his all his posts to have a certain format where within the post body, he can add multiple pull quotes with different styles. Note ...
0
votes
1answer
30 views

How to make my wordpress site responds for 2 domains

I have a Wordpress Woocommerce site running on www.mydomain.com.br and I'd like it to also respond for the domain srougi.biz/mydomain because my return page (page that users go after payment) must ...
0
votes
2answers
63 views

cannot achieve this structure (custom posts VS categories VS ??)

I'm a bit despaired because I cannot figure out how to do what I need (and I worked with WP since a lot of time ..) Basically, I need to show my artistic work. Each work is a post, or a page or a ...
0
votes
1answer
2k views

Sticky menu for WP custom menubars

This seems simple, except that I am not able to figure it out. In a wordpress theme, how can I make a custom menubar below the header image stick at the top after scrolling down the page? Example ...
0
votes
1answer
38 views

Page template with custom html fields inside a content

I'm writing a custom page template and I want to do something like this: after typing tag inside page content, for example [custom-email-form] I want to place inside the content some html5 email form. ...
-2
votes
1answer
37 views

Create a plugin to create a new page in wordpress for each time a record is added into the database

I am new to wordpress and would like to get a way forward for a particular problem. I have a database table A with various columns. For each record in table A a wordpress page needs to be created in ...
1
vote
2answers
2k views

Qtranslate + Woocommerce (multiple tinymce) [closed]

I am using WooCommerce and qTranslate to develop an ecommerce website. I run into the following problems. I've googled it and days of trying to no avail. On the top of the product edit pages, the ...
0
votes
2answers
295 views

How do I automate multiple category loops?

I've asked this question already on the WordPress forum, but it sank like a stone, which isn't at all unusual. I've set up a general Articles page with multiple loops, in order to display the first ...
1
vote
2answers
239 views

CPT: if more than X images are in post, use pagination

On my website, I have a custom post type ("foto's"). It contains photo albums which are fetched from Facebook with Facebook Photo Fetcher (plugin). This works great. Unfortunately, this plugin does ...
0
votes
1answer
486 views

How to add a prefix to existing custom fields over MYSQL query?

I've got the problem that after a plugin update I can make the custom fields on our directory site searchable, but only custom fields which get the prefix booking_ to them. Now there are some pages ...
1
vote
1answer
169 views

How to use default WP form elements to interact with custom DB table?

I know about the use of Custom Post Types, but in this case I do need to use a custom database table (FYI: it's a table that is IP-based shared with another non-WP website). In wp-admin, I'd like to ...
0
votes
1answer
74 views

How to customize my category pages

I'm an experienced php programmer, but a wordpress newbie. My site uses the theme twenty eleven. I have created some post categories, and some posts for each category. On my site, for each post ...
0
votes
1answer
113 views

Want to modify a Plugin - Tweetily - Can I make it tweet a Custom Field instead of Post Title?

http://wordpress.org/extend/plugins/tweetily-tweet-wordpress-posts-automatically/ I was wondering if somehow it's possible to make it tweet a Custom Field instead of Post Title? in top-core.php, at ...
0
votes
1answer
74 views

Upload files in wordpress

What is the best way to upload files in wordpress? How can I upload multiple files at a time like media uploads in wordpress?
0
votes
0answers
88 views

Pagination is not working on custom query

I have custom query with different conditions so that's why my pagination is not working with it. When i click on next button it show me the same posts. The query i am using are <?php $paged = ...
0
votes
1answer
141 views

Problem with Custom Post Type Categories

Before I proceed on writing anything just have a look the following images. (snapshots) I have one custom post type by name 'questions' just like we have 'posts/pages'. If you look at the image ...
0
votes
1answer
835 views

List post only under the category, exclude child category content

I wanted to list posts which are directly under a category and not inside the "sub category". In other words, I want to hide all the posts which are from "Sub Category" in the Parent category view. ...
0
votes
1answer
142 views

Custom Form not generating URL

CReating a template to load content in an iframe on the same page - I have not even got as far as using ajax to avoid reloading the whole page as the form submit is not working. The submit button ...
-2
votes
1answer
74 views

How to add custom page using them in wordpress 3.5

I did this before in wordpress 3.4 but that code seems not working. I add this code inside wp-content/themes/ folder and I add new page from backend and try to select that. But it is not showing up, ...
1
vote
1answer
66 views

Defined Blogname Override?

Is there a way to override the blogname such as define("WP_BLOGNAME","My Blog"); I've looked high and low and have found nothing. Testing it doesn't work either. This is so I can help determine ...
0
votes
2answers
216 views

How to get all custom fields with some prefix in key?

I have near 100 custom fields for each post with prefix "wps_" (examle, wps_imagine, wps_video, etc) and near 20 custom fields without prefix. Problem that I don't know names of custom fields with ...
0
votes
1answer
97 views

User registration add user ID?

I have created a custom user registration template for my WP website, based on this code: http://www.tutorialstag.com/create-custom-wordpress-registration-page.html. Now I was wondering if it is ...
0
votes
2answers
154 views

Permalinks problem with custom theme

I am pretty much learning by doing a custom theme from scratch (not a child theme), and have had much trouble with permalinks. In the permalinks settings page on the wp-admin, if I put any option ...
0
votes
1answer
82 views

Display movies that apear this day next

This code retrive me the movies that are comming in cinema, i want to be able to list movies that apear this day, next day ... 7 day week Ex: Today is 13.05.2013, i want to list the movies that ...
0
votes
0answers
54 views

Get page type to display content

I have some checkboxes to select where can I display my plugin and I save in db in this format: Show popup in this pages: x Article (Public) x Pages (Public) x File (Public) x Revisions (Not ...
1
vote
1answer
2k views

Remove Links from Login page

I want to remove all the links from my network login page ("Register","Lost your password" and "Back to site") how can i do that?
0
votes
1answer
642 views

Delete data from custom table when deleting a post

I want to delete post id form my custom table, when deleting a post. I have tried this way, nothing happened. Please help. add_action('delete_post', 'delete_data'); function delete_data($post_id) { ...
0
votes
1answer
219 views

Custom RSS feed - blank page

I've read all the articles about creating a custom RSS feed, but haven't had any luck - always results in a blank page. To make things simple, here is the code I'm using - with the link being ...
1
vote
1answer
19 views

Not sure how I would go about doing this in WP.. related to custom tags

Okay, so I want to do something, and after searching on Google I couldn't find any answers. Maybe you guys can help. basically, I want to assign every post with a little bit of unique identification ...
0
votes
0answers
62 views

error with WP custom form

I have set up a custom form in my locally hosted WP and I made a page where user goes after successfully done with the form but I got two issues : 1- the form validation code appears on the ...
0
votes
0answers
77 views

Add Custom Post Type Categories to General Categories

I've created three custom post types. I want them seen as general categories. I could not find a solution, can anybody help me? Thank you.
2
votes
2answers
314 views

Change the link of 'Howdy' at the top right

I'd like to change where the 'Howdy' link gets you when you click on it. I have a website with buddypress and instead of getting users to their profile page I want to get them to their 'Activity' ...
0
votes
0answers
70 views

Custom WP plugin installation permission problem

I've developed a custom plugin for WP. When I install it manually on my server, using FTP transfer, all is perfectly working. I tried to make a zip file and uploading it through WP admin panel. All ...
0
votes
2answers
963 views

How to display only one category in a custom post type?

I have a custom post type called 'portcat' and I want to display the results of only one portcat category ('games' - which has an ID of '3') on my page. The below code displays all of the categories ...
0
votes
1answer
123 views

How to create a custom template to admin dashboard

I was trying to create a template to customize my WP admin dashboard, not only a css mod but a entirely renew to my customers. I've successfully created a page template for a custom login page, and ...
3
votes
1answer
3k views

Modify search function in WordPress (TwentyTwelve)

I want to remove "Search for" text from search form in TwentyTwelve, to wrap in in a div for styling, and probably to play with php a bit – and I'd appreciate some advice on how to do that best. My ...
0
votes
1answer
56 views

Where can I find the code for the menu page meta boxes?

I want to add a meta box to the menu page. More specifically I want to basically clone the pages or category meta box and have it load the items into the list from a meta key, instead of pages or ...
1
vote
0answers
144 views

custom upload directory only for plugin uploads

i'm trying to add an upload_dir filter only for plugin-uploads. does anybody know why the code below doesn't work, and what could work instead? thanks in advance! $upload_dir = 'publications'; ...
2
votes
1answer
1k views

How to add default images into theme customizer image control?

I am trying to figure out how I can pre-load a theme customizer image control with images I have selected. Is their a way to point the control to a directory so they automatically show up in the ...
1
vote
1answer
371 views

How to extend customize control types to list pages

I have: I'm currently using $wp_customize to add options to the customize theme area. My Goal: My goal is to extend $wp_customize so that I can display a list of available pages as checkboxes. I've ...
4
votes
1answer
343 views

Adding another state (spam, reject, approve) to wordpress comments?

i know this might sound a bit weird, but what I'm trying to do is rather simple in mind but may be technically difficult. I'm running small contests on my wordpress site where I ask users to leave a ...
2
votes
1answer
325 views

Responsive Images - Generating multiple images from Theme Customizer control upload?

So, after poking around in the code it looks like the filter image_make_intermediate_size is not called by the various WP_Customize_Control() classes at either WP_Customize_Image_Control() or it's ...