All Questions

Filter by
Sorted by
Tagged with
0
votes
2answers
2k views

any way to access variables from within post editor?

I am trying to assign a variable either from my template file or otherwise which I can then access within the post editor. Any ideas?
0
votes
3answers
1k views

Custom metabox translation

I have created a custom post types and added some custom metaboxes and now I am wondering witch translation plugin I use for my site? I don't have experience with none of them, so I don't know who ...
1
vote
1answer
4k views

Display Custom Post Type Taxonomy Child Categories and their Posts

How can I do this for custom post type taxonomies? <?php //get all child categories for category 15, then for each child category display the posts $parent_cat = 15; $taxonomy = 'category'; $...
0
votes
1answer
161 views

WordPress archives widget causes Bing bot 404 errors

I'm using the standard WordPress Archives widget in dropdown mode on my blog. But apparently the Microsoft Bing spider gets confused by it, because the dropdown code looks like this: <select name="...
9
votes
4answers
8k views

I Want to Get A Plugin Version Number Dynamically

Howdy, I recently cribbed W3TC to implement an "in-update" changelist display (very cool), in my plugin, but there's an awkward bit of code I'd prefer to avoid. If you look at the top of this file, ...
1
vote
1answer
606 views

Populate Custom Fields in a Custom Post Type?

I want to set up a basic 'post rating' system for my site - I don't want to use a plugin - so I want to add the custom field 'rating' to each new custom post and populate this field with the number 1. ...
0
votes
1answer
200 views

How to add custom options for plugin into the add post screen - like yoast seo

On Yoast seo, when you create a new page it gives you the ability to alter titles, etc. This is added by the yoast module. I am writing a plugin, that can have other things attaching to a post. How ...
-1
votes
1answer
284 views

How to insert a column (part of theme) in the middle of the content body?

Was asked to simplify the question. Here we go: As you know, the "content" part of a WordPress posts all appears together. What I'm trying to recreate is how on several news sites, they'll have the ...
0
votes
1answer
151 views

What templates/funtions needed in custom theme to allow comments the new 3.0 way

Hi: I have been using the comments.php, comments-popup.php, single.php and loop from the Kubrick theme to create my blog functionality in themes I build from scratch. But with WP 3.0 there's a new ...
0
votes
1answer
566 views

Global MySQL replacing of text patterns/matches

I'm familiar with this method... update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, ‘find this string’, ‘replace found string with this string’); The problem is, I'm trying to do this to all ...
0
votes
1answer
240 views

Cache DB queries result

On my new site i am displaying most of the images instead of text. I show images for recently written, recently viewed, mostly viewed posts etc. I found that in 40% of cases posts are same. so i need ...
2
votes
2answers
437 views

Data Validation

I'm using Wordpress as CMS and have a checkout page where info is inserted into the db using $wpdb->insert. I have 2 questions: Is 'sql injection' already a part of that function or do I need to ...
18
votes
3answers
32k views

Attaching taxonomy data to post with wp_insert_post

I am trying to implement a front end posting system which shows taxonomy data in several dropdown select fields. Each of the dropdowns is named by using the "name" $arg in wp_dropdown_categories(). ...
8
votes
3answers
742 views

Plugin directory “Last Updated” not changed after initial commit?

I released the first version of my Rewrite analyzer plugin with a commit on 2010-05-12. The WordPress.org plugin directory however still displays 2010-11-27 as the "Last Updated" date - this is the ...
2
votes
2answers
286 views

Wordpress Plugin Setting's POST

I've developed a few plugin for Wordpress. Currently I've not been able to replicate the way wp save settings. I've a setting page which I learned from a tutorial. It POST to option.php, and wp take ...
0
votes
1answer
109 views

Pulling RSS from site and display it in posts

I'm trying to pull rss from sites similar to this: http://andreabadendyck.blogg.no/ I have several posts with the URL in the title, so I can pull the URLS from here and hardcode the rss reader in the ...
-1
votes
2answers
860 views

How to integrate Amazon SES Account with MailChimp STS plugin? [closed]

I'm trying to set up the plugin MailChimp. I have uploaded the plugin and installed it. (https://wordpress.org/extend/plugins/mailchimp-sts/) The directions tell me I will need MailChimp account and ...
2
votes
1answer
879 views

get_post_meta in sitewide tags plugin fails to return value for custom fields

Here's another conundrum that I'm toying with. There's a routine within the sitewide tags pages plugin which takes a list of custom fields (entered in the admin settings) and then uses these as keys ...
1
vote
1answer
533 views

Hook up MU site creation

I want to write a plugin so I can hook up the wp_install_defaults function. I actually need to do the following: when a new site is created, I want to import a default XML file with some categories ...
2
votes
2answers
148 views

How to handle core code throwing notice on valid input?

I have combination of valid input with native WP function throwing PHP notice. In this specific case it is image without extension with image_resize(). This is usually suppressed by WP, but it still ...
2
votes
2answers
1k views

How to limit 1 image per post on homepage only?

most of my post on wordpress got 6 or 5 images perpost. My problem is if I posted 5 new post with new images, it will be totall 25 images display on my homepage. I want to limit 1 image perpost on "...
1
vote
1answer
116 views

Making Comments Editable?

How would I make my WordPress Comments Editable? I tried using an Ajax plugin that take them to another screen, but it's not as nice as I would like. For example, I just want it to re-open the ...
2
votes
2answers
1k views

How to disable atom feed and only use RSS feed

Is there a way to disable atom feed and have only rss feed? When I click on the RSS button on my Firefox, I am show 'subscribe to domaintitle using RSS feeds' and 'subscribe to domaintitle using atom ...
0
votes
1answer
165 views

My first WP development project - am I envisaging this right?

I've been asked by my friend to recreate his travel site, CMS style, in Wordpress. His layout is something like this: Home About Us -- Country landing page (with a featured tour, then links to the ...
7
votes
1answer
959 views

how to assign a status/mark to post?

I want to mark some posts to include them in a featured content slider. For that purpose, I want to include a check box on the new post page, so that if the checkbox is selected the post is marked as ...
0
votes
1answer
110 views

Custom Archive Page

I want to create a custom archive page. It will look like this: 2011 January February March April May June... (Months) May (Current Month) Post 1 Post 2 Post 3 ... And clicked one of months (...
0
votes
2answers
3k views

How do I override the search template in a plugin?

How do I override the search template i.e. used inside a theme with a custom search page inside a plugin? Please point our any relevant action/filter hooks which can be used to do this. Any help is ...
1
vote
4answers
4k views

How to remove bulk edit options

Is it possible to completely disable Bulk Edit functionality? I'm using Wordpress 3.1.
2
votes
2answers
2k views

How to disable drafts?

Using Wordpress 3.1 is it possible to completely disable the drafts functionality or at least remove the "Save Draft" button from the post screen?
0
votes
2answers
409 views

Adding re-type email and check it if the email match

I want to add email field on the registration page and check it if the two email that the user input matched or not. I am using eshop theme by templatic. Any help would be appreciated. Thanks!
2
votes
3answers
2k views

HTTPS page link in menu

Ok, so I have a wordpress site with a lot of pages and menus that I've defined in the appearance/menus section of wordpress. One of my pages has a little payment form on, which I'd like to link to ...
0
votes
2answers
1k views

Share users across multiple sites on same database, but with different domains

I am trying to implement a single sign-on solution between a Wordpress and a non-WP site, under different domains. I am aiming to setup a ghost WP install on the non_WP site domain, to be able to load ...
1
vote
2answers
581 views

get_terms problem : related articles

I'm trying to use get_the_term_list to catch the name of the current taxonomy of the page, and then use it with get_terms and a foreach method, to show the result of all the "elements" from the same ...
1
vote
1answer
2k views

One WordPress install serving multiple virtual hosts

I have a number of WordPress-enabled sites setup as virtual hosts under XAMPP on a Windows 7 development server. An example virtual host is as follows: <VirtualHost *:80> ServerName siteA....
6
votes
4answers
5k views

How can I change the dashboard appearance?

Anyone can recognize the current Wordpress backend, but I don't want that. I want to change it using my own design and I want to have a seamless navigating experience for my users. How can I change ...
1
vote
1answer
114 views

Posting via HTTP requests?

Is there any way to do autoblogging on WordPress? What I want to do is to submit a new blogging entry through a HTTP request rather than through the WordPress UI. I know that I can do it using email, ...
1
vote
1answer
516 views

Twitter links in widget don't work?

I am displaying a twitter feed on my homepage: http://www.fairwaterrights.com The feed works fine. But if I click on a link in the twitter post, it doesn't open. For instance, instead of opening ...
3
votes
1answer
4k views

List custom post types in dropdown

I have three custom post types, each with around 5 taxonomies and 2 of the custom post types share two taxonomies. I've just about got everything set up for posting from the front end other than the ...
2
votes
2answers
4k views

How can I edit the Twenty Ten Theme to remove the comments box when a page uses a specific template?

I'm new to Wordpress and I'm trying to edit the Twenty Ten theme so that my template for basic pages (basic-template.php) does not show the comments box. I do want the comments box to show up on other ...
4
votes
2answers
2k views

Page as child in custom post type slug?

I have the following structure: /projects (archive of cpt projects with template archive-projects.php) /projects/project-1 (single view of cpt with template single-projects.php) /projects/downloads (...
2
votes
3answers
202 views

Is there any site where i can found good documentation of wp-ecommerce plugin?

There is no good documentation in the plugin official site I am trying to making a web shop in WordPress with wp-ecommerce pluign. But i don't find any good documentation in the web. Even the ...
1
vote
1answer
2k views

using jQuery Cycle by Malsup with WordPress Page and Gallery

I would like to modify a WP Gallery to use the jquery cycle plugin by malsup. I know this is possible but would like to know best practice for this, if anything just pulling out the url for each ...
2
votes
1answer
372 views

Wordpress Genesis Child Theme Filter divs

I'm trying to html5ize a Genesis child theme. So far I've figured out how to replace the Doctype via hook but am having trouble figuring out how i can change the divs to sections and articles without ...
0
votes
1answer
634 views

add a “list” into add meta box : problem

i found a code searching through stackexchange --> to create a "list" inside a meta box of a custom type, BUT, i don't see anything appearing in this meta box, except the input field (which comes from ...
0
votes
2answers
6k views

wp_list_pages sort order by custom nav menu order

Does anyone know of a way to create a sitemap by using wp_list_pages and have the order by the same orders a custom nav menu?
1
vote
2answers
264 views

Inserting ads into wordpress default rss feeds

i'm hoping i'd find some help in regards to inserting ads into wordpress default rss feeds (i do not use feedburner) <?php function insertAds($content) { $content = $content.'<hr /><a ...
13
votes
4answers
2k views

What is the difference between a “tag” and a “category”?

I have been using WordPress for several years, but have yet to see a reason to employ tags over categories or tags with categories. What is the thinking behind the two, and when are each appropriate?
0
votes
1answer
764 views

tabbed content box with different tabbed background images

I am currently looking for a way to replicate the image I have below. I have come across many tabbed content plugin's and snippets of code, but I cannot figure out how to add different background ...
18
votes
2answers
6k views

Toggle admin metabox based upon chosen page template

I'd like to have a custom field interface show up only when a certain template is assigned to a particular WordPress page. Any ideas?
2
votes
2answers
3k views

Delete Post From Front-End and attachment permanently

Is there a way to delete a Post From Front-End and it's attachments permanently? This is a snippet that moves the post to the trash can, but it doesn't remove attached images (they remain on the ...

15 30 50 per page