Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

1
vote
1answer
233 views

Custom post types with custom directories

I'd like to run a WordPress install with open registration so that anyone can sign up and post to a custom post type that would live at... domain.com/open/date/the-post-title I'd also like to run a ...
1
vote
2answers
561 views

adding homework to a school's website

I have a school website - pickeringschool.org - that I am changing over to WordPress. This is no problem except that I want to add the functionality that allows the teachers to add daily homework ...
1
vote
1answer
763 views

Sub posts and non unique post_name

I'm trying to create sub-posts like this: /post/info/ /post2/info/ Using wp_insert_post() and I have almost succeeded. I'm setting post_parent to the parent post ID and the post_type needs to be ...
1
vote
1answer
734 views

Custom Taxonomy Term Caching?

I have two Custom Post Types, "event", and "opportunity". They share a custom hierarchal taxonomy, "location". My client had added a handful of terms (United States (parent), then a few States ...
1
vote
2answers
243 views

Sort custom field by post

Ok it is pretty simple. Every post of my blog has a specific country. So i have the custom field country and then, when i write the article i add: japan, argentina, usa, italy etc. to the post. Now in ...
1
vote
1answer
362 views

Fastest way to get the comment and ping total count for a post

I'm making my own comment template (like this) and I need to know how can I get the comment and ping count for the current post, maybe using a fast database query or something like that? Note that I ...
1
vote
1answer
183 views

How To Modify New Sub Blog Immediately When Super Administrator Creates It?

I want to trigger a function in a plugin when a new sub-blog is created in a multisite set up of WordPress. Is it possible? If so, to which action/filter should I hook? The motivation here is to ...
1
vote
1answer
112 views

Author Tracking Code!

I need help with coding this piece. Basically i want with someone click on my author page. It stored a cookie of that author name and email. I want the cookie to stay in place untill the person close ...
1
vote
1answer
2k views

How-To add Custom field in Wordpress wp-ecommerce Categories?

I'm using WP e-Commerce (Wordpress Plugin). I want to add a field in Categories (image field for category background). How can I do that?
1
vote
1answer
80 views

Do widget options need to be escaped widget()?

I was wondering if you really need to escape user submitted data (widget option fields) within the widget() and form() functions (from the widget class) ? I don't see a reason to do this, if the data ...
1
vote
1answer
871 views

Retrieving and Storing Images Linked from Other Domains on Local Server?

(Moderator's note: The original title was "Copy and Paste picture in post without linking to original") When I copy and paste a picture from another editor window it appears nicely but it links to ...
1
vote
1answer
1k views

Custom sidebar category listing?

I am trying to make a custom Category Display on my side bar and for that I need some way to get both, the category list and the child list in 2 different arrays or something alike... First, I tried ...
1
vote
1answer
326 views

How to create a completely private wordpress with multiple membership levels

Hello I would like to create a private WordPress blog for friend and family and I would also require to restrict certain content for only family which the level of friends can't view. It could be ...
1
vote
2answers
109 views

What changes we need to make to a theme so it can be installed as a MU Theme?

I downloaded the free Wootheme Irrestible and if installed on a stand alone Wordpress, works very well. Now, if we enable Multiple Sites on 3.x and set this theme to be the theme of a new site it ...
1
vote
1answer
211 views

Is there any W3C compatible Share & Follow plugin?

I'm trying to build a fully W3C compatible blog. But I couldn't find a fully W3C compatible plugin. I want a simple plugin that provides share, tweet and like icons, sociable style. I don't want my ...
1
vote
1answer
87 views

Is there a quick way to find out what posts haven't been tagged?

Basically exactly what the title says, I am running 3.0.1 and want to be able to quickly flag up posts that have no tags currently assigned to them.
1
vote
3answers
1k views

Multiple RSS feeds scroller in one sidebar

How can i have multiple RSS feeds scroller in one sidebar. I want the RSS feeds of CNN, BBC, google news, USA today etc, all at the same time, is it possible to duplicate an RSS scrolling widget?
1
vote
1answer
327 views

want to create a subcategory.php to manage subcats

is it possible to create a subcategory.php and use it to manage subcats. or is there a way to get around this. if it is not possible.. is there something like this <?php if(is_subcategory() || ...
1
vote
2answers
1k views

Creating a searchable A-Z listing of hundreds of companies/services

I am about to create a webbased guide. A guide that will list numerous of companies - their services, contact information and so on. And I need help coding this! I am using Genesis News Child Theme ...
1
vote
1answer
278 views

Recommendations for books/resource to get started with wordpress 3 development (plugins/themes) [closed]

i am looking for learning resources to get started with wordpress 3 (i'd like to learn the latest) plugin/theme development. i also looked at Recommendations for an In-Depth WordPress Book? i am ...
1
vote
1answer
564 views

Multisite on Rackspace Cloud (ubuntu lucid)

First post in this astonishing exchange. Glad to be here. I've installed WP3 on Rackspace Cloud, under an Ubuntu Lucid installation, properly configured all the multisite dependancies, network blogs ...
1
vote
2answers
3k views

How to edit theme functions file to modify pagination?

By default, when adding <!--nextpage-->, the following links are displayed: Pages: 1 2 I need to replace "Pages:" with a graphic arrow which links back to the previous page, and append a ...
1
vote
2answers
623 views

Suggestions for Implementing a Wedding Website in WordPress?

A would like to create a website in WordPress that allows user to create wedding websites. What suggestions can you give me on how to implement it?
1
vote
2answers
872 views

Why do posts disappear from admin after upgrading from WP 2.7.1 to 3.0.1?

After upgrading from WP 2.7.1 to 3.0.1, many of my posts are not showing in the admin section. I have almost 30 posts, but they're not showing on the post admin page. I created a mirror so I have a ...
1
vote
1answer
195 views

Does any one have Idea to get these functionalities with the plugin wp-multi-network

I am using the plugin wp-multi-network(http://wordpress.org/extend/plugins/wp-multi-network/) to maintain child networks under multi site.Using this I can create child networks.But I can’t set sign up ...
1
vote
0answers
13 views

Save & Publish disabled for two dimensional array Customizer

I am developing custom control in customizer. Control Its 4-5 textboxes that I can sort internally. Its a foreach loop. textbox1 textbox2 textbox3 .. The data stored is in array. ...
1
vote
0answers
39 views

Automatically add date to the auto generation of post slug

I need to customize the slug when you add new post and after you write title it creates automatically slug. I want to add before the auto title of the post the current date on this format d-m-y so the ...
1
vote
0answers
19 views

two factor authentication

i am working on a two factor authentication plugin using a third party API. API and WordPress plugin setting page are ready. now i need break default wp login process in two parts like this: This is ...
1
vote
1answer
41 views

Custom login with external provider iframe and data object

I'm trying to couple an external authentication system as a replacement of the actual WordPress login, but this external authentication system is a little bit weird according to many tutorials and ...
1
vote
1answer
33 views

1 Wordpress installation with 2 pages: every page gets a separate domain

I have 1 WP installation with 2 subpages in it. Each of those 2 pages should get a separate domain: Wordpress (domain1.com) Home :: domain1.com Subpage (id=8) :: domain2.com Is this rather ...
1
vote
1answer
47 views

Allow users to create posts without logging in?

I am working on a site where users can share their story. Every story is a blog post. I don't want that they mail me the story and I publish them, I want to provide them a form where they provide the ...
1
vote
1answer
16 views

Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value

I want to have this kind of validation in my code: if (/*OLD*/get_theme_mod($name) != /*NEW*/get_theme_mod($name)) { // do something.. } That code will execute after pressing the "Save & ...
1
vote
0answers
22 views

Comments not nesed with custom template

I have a custom template for to show my comments. For some reason, there are not nested while looking in the back-end of Wordpress, I see that some comments have a parent. They are simply displayed ...
1
vote
1answer
16 views

Permission issue with custom post type - not added to menu - by plugin

I've created a custom post type and taxonomy like this... function register_post_type_products() { $labels = array( 'name' => _x('Produkter', 'post type general name'), ...
1
vote
2answers
65 views

Best practice for adding posts in bulk

I have a set of custom post types and taxonomies I've added using the Custom Post Type UI plugin, and need to enter several hundred entries ( >500 ) How can I import this data in bulk? E.g. as a csv? ...
1
vote
1answer
47 views

Pages are not saving due to custom post type

I have a custom post type "soto_user". In which I have custom meta field named "Publish" from which user can select 'YES' or 'No'. If user selects "Yes" and click Publish button then post should be ...
1
vote
0answers
59 views

Diffrent User registration form for doctor and patient

I am building a health care website. where both patient and doctors are allowed to register. Here I want to register doctors by different registration form and should be available with different ...
1
vote
1answer
36 views

How could I change my Permalink from blog to custom structure? [closed]

When I install multi wordpress site I have a problem that my default site permalink goes to http://site.myurl.com/blog/post-name/ I want to change it so that it goes to a custom link like this: ...
1
vote
1answer
51 views

User can not login

I successfully inserted a new user to WP database and I want this user to be logged in right after this. I do it like this User Login Form <?php function dlf_form() { ?> <form ...
1
vote
0answers
70 views

Allow non-admins to access the Customize theme page

I'm using a theme that has a very robust customizer and I want users other than an admin to be able to use the customizer so they can customize what their site looks like. The URL for the customizer ...
1
vote
2answers
190 views

Custom post status not working

I'm trying to create two custom post status'. I used the Codex to generate the code and that didn't work. Then I went to http://generatewp.com/post-status and it didn't work either. It isn't showing ...
1
vote
0answers
71 views

Media Upload , file name changed automatically

I face a problem that when i upload a video that named in non-english language , for example : Arabic , it placed in uploads folder with strange name Ùيديووو so it can't be access through ...
1
vote
2answers
224 views

Converting HTML Template to Wordpress Theme

While I was trying to convert a Static HTML page to Wordpress Theme , I had an issue . the page Doesn't run properly After Checking Google Chrome Console it turns that it loads the CSS file with the ...
1
vote
1answer
148 views

Getting value from get_post_custom

I have added a custom meta box to a category that shows up fine. The only purpose of this metabox is to supply a link to the post. I can see that the box works because my test link is saved in the ...
1
vote
1answer
394 views

Customizing default Mediaelement player

Good morning/afternoon everyone. Been playing around with the default wordpress mediaelement player and definitely loving it. I managed to customize the layout a little by overriding some css values ...
1
vote
0answers
78 views

Add custom field to category of custom post type

I want to add a custom field (for a icon) to categories of a custom post type. I use the default category type and not a own create category taxonomy. How can I add the custom field only to the ...
1
vote
0answers
74 views

Allow guests to use WP Customizer but disable save button

I've seen in some WP demo themes that developers let users to see a theme customizer (allowing to try the customizations) disabling the save button as well. So the question is how to do that in a ...
1
vote
1answer
340 views

How to get shortcode working from custom meta field

I've created a simple text custom meta field for pages. I can successfully enter plain text which prints on the frontend of the site with no problem. I want to add shortcodes also. If I add a ...
1
vote
2answers
249 views

OrderBy multiple custom meta fields

I have a custom post type in my plugin named members, along with two custom fields; first_name and last_name. I am trying to order my listing my the last name, then the first name. The only solution I ...
1
vote
0answers
40 views

Add a custom meta box in the post options that loads some html code in the header

I run a blog that is built in the format - Logo - Nav Large Image + Email Optin Form Content / Sidebar Footer Now I want the large image and email opt in form to be optional. Right now, what I ...