Hi,
Since scripts are not allowed on WordPress(.com) blogs, I was wondering whether there is a way to get the following Google Translate code to work on a WordPress (.com) blog via the Text widget? Thanks in advance.
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.Transla...
I am creating a custom post type called article and I want to make a field called genre to be required. Is this possible?
...
Hi
I'm developing a wordpress plugin and I've hit a problem.
The problem is being caused by this code:
<?php
function gs_subscribe_button ($type) {
global $wpdb;
$id = get_option('google_merchant');
$table_name = $wpdb->prefix . "subscription_types";
$result = mysql_query ("SELECT * FROM $table_name WHERE id = $type")...
How to insert post meta values while adding a post? I am using wp_insert_post function to insert the post. For using the "add_post_meta" function, we need to specify the post ID. How can I add the values at the time of inserting post? Is there any way to do this!?
regards - dj
...
Hello
I am writing a wordpress module that will need to re-direct the registration process to a checkout. I have the checkout working, and I have added the extra options I need to the normal Wordpress registration screen.
I need some pointers on how to intercept the registration process before anything is committed to the database. Af...
Just started with python not long ago, and I'm learning to use "post" method to communicate directly with a server. A fun script I'm working on right now is to post comments on wordpress. The script does post comments on my local site, but I don't know why it raises HTTP Error 404 which means page not found. Here's my code, please help m...
My website used to work on wordpress engine but now I'm writing my own script. The problem is that users passwords in wp_users table are encoded in a strange way... Can anyone please tell how should I encode it so that it worked on my new script?
...
Hi,
I'm thinking of building a complete website on top of wordpress. The site will be similar to a shopping or a job search site, with moderate complexity.
Is it possible to do so, with my own custom database?
...
I use WordPress for several websites. I want to customize one of the RSS feeds and create a template for the outputted data but everytime I click on the feed link (myurl.com/feed) it takes me to a Google page to add it to my Google Reader. I use Google Reader and normally want everything else to default to that, but how can I override ...
Hi !
I need to disable archieves and meta widgets on our website - cbms.ru ( make them not to show up )
how do i do this ?
thankx !
...
I'm trying to hack about some sidebar code in a Wordpress template I'm developing. Basically I've captured what I need in an output buffer and I'm running regex over it to replace bits with the code I need. Problem is my regex knowledge is just a bit short on what I need to achieve.
The problem I'm having is as such:
$output = preg_rep...
On single.php I want to display a list of categories, similar to the one using the_category but instead links to archive of these categories, I want links to RSS feed of these categories.
Is there a way to do this, without a plugin?
Thanks in advance for all your answers.
...
I'm trying to figure out how to put PHP code into a custom field, but so far all that happens is that it displays the code literally, instead of executing it. So, how would I go about getting the PHP I'm inserting into a custom field to actually execute?—rather than display it like it was plain text.
...
I am building a wordpress theme I want to have the next and previous DIV only appear IF their is a next and previous button available.
If there is 10 posts and the display limit is 10 posts I don't want an empty div. However when there are 20 posts and the display limit is 10 I want the next and previous buttons to show in there own di...
Alright I have two loops going, on in the body and on in the sidebar. I also have a conditional statement in the footer that generates another loop. The problem I'm running into is the use of the conditional statement in the footer. Because the loop in the sidebar was called last, Wordpress is using its variables in the conditional state...
Hello,
I have the requirement of running the Wordpress admin over https.
We use a cdn to deliver cached content for the site but the cdn cannot accept secure traffic (only one SSL cert per IP allowed, and we run several sites off it). I cannot control redirects for httpS://www.mysite.com/.
I would like to have:
http://www.mysite.com/b...
I found the twentyten_posted_on(); of a single page (in single.php). But I can't find the one that's included in the index page of my Wordpress blog (the first page you see when you enter a Wordpress blog). I tried to delete the twentyten_posted_on(); of loop.php but nothing happens.
I checked index.php and there's nothing.
Where it ...
Hi all,
Is it possible to have Wordpress generate this type of unordered list?
<ul id="nav1">
<li><a href="#">item1</a></li>
<li><a href="#">item2</a>
<ul id="nav2">
<li><a href="#">subitem1</a></li>
</ul></li>
<li><a href="#">item3</a></li>
</ul>
Obviously I can do the following:
<ul id="nav1">
<?php wp_list_pages(); ?>
</ul>
But...
I'm using custom post types in Wordpress 3.0 (now 3.0.1) to setup a custom directory system, but can't seem to find how to list out the categories under the custom taxonomy similar to how you'd use the wp_list_categories for normal posts. Anyone know how you'd do this on a page? Thanks!
I've seen suggestions for options like the followi...
I am looking at creating a selection pretty similar to the posts and categories in Wordpress admin page.
When you add a new post you can select multiple categories that it belongs too.
I have a video and playlist plugin that I need to associate with one another.
How would I go about achieving this?
...