I'm creating a custom solution on Wordpress 3.0, that has multiple different sites using the multi-user capability.
I want to know if Wordpress has any functions that allow you to pull data from the same custom post type across all of the sites.
An example is news. All of my sites have a custom post type called News. I want to be abl...
I am making a custom archive page, that will display the list of posts with their excerpt, and a button that when clicked toggles the rest of the post content. I have it working with this code, except that it toggles EVERY post content lol because in the loop they all get the class you know what I mean?
Can you help me fin a way to do t...
So if I'm on a subcategory page...how can I get the name of the main category?
So let's say I'm on site.com /my-category/my-subcategory/ so how can I get "my-category" ? I don't want to parse the url :) cuz' I think wordpress has a built in function or smth.
Best Regards,
...
Hi,
Hoping people can assist me with the following questions re: WordPress 3 on MAMP OS X:
1) Under my installation of MAMP, under the htdocs directory, I have a WordPress site installation, say called Site A.
I now want to create a new WordPress site, for Site B, do I need to download a new install of WordPress and then set this up u...
I'm fiddling with a WordPress theme. I'm aware I can use wp_enqueue_script in my header.php to load WordPress's supplied jQuery library.
I was just going to use wp_enqueue_script in my header, but it seems inefficient when I only want to use it on a particular Page (just on one single page with a particular page_id.)
Given that, what's...
Hi All,
I'm setting up a Wordpress site with the WP ecommerce plugin, I have it all setup and ready but I want to display the categories and products in a tree form (i.e. li tags) within the side menu.
Has anybody done this beofre - don't mind if I have to whack the code in myself.
Any help, much appreciated.
Regards
Shane
...
I am trying to get a wordpress custom post type for events.
How do I get the custom post pages to display for creating a navigation: wp_list_pages() doesn't display any of the custom event pages:
add_action('init', 'event_register');
function event_register() {
$labels = array(
'name' => _x('Events-x', 'post type general...
Hi,
i can use <?php the_content();?> to get all post contents but how can i show only the image attached to the post?
Thanks
...
In WordPress there is Biographical Info under Profile. I would like to prevent the user from exceeding a maximum length of 400 characters. Also, the number of hyperlinks he can place in the biographical info should not exceed three. How do I do that? I am very familiar with JQuery, if that helps in this question. I am just a newbie with ...
Hi,
I'm in the process of migrating my HTML website into a WordPress Theme and have the following question:
My current HTML website makes full use of jQuery's .load() function, by where I change the content of the page (via a DIV), using .load() based on my side menu options selected by the user.
With this, can I still keep this proce...
Hello,
I am registering a custom post type like so:
register_post_type('agent_info', array(
'labels' => array('name' => __('Agents'),
'singular_name' => __('Agent'),
'add_new_item' => __('Add New Agent'),
'edit_item' => __('Edit Agent'),
...
I recently had this code created for my Wordpress site. It makes it so that unregistered users can not see the newest posts available up to 15 days unless they register. It works, but I need it to only restrict one specific category in my Wordpress installation and not all of them (i.e. I need it to restrict this category but not my bl...
I'm looking to find a WordPress plugin that ads an upload widget to my post editor to allow me to associate images with posts.
The end result is that I can add a bit of code to my theme's single.php file that allows me to load all of the images that reside in the folder matching the post id.
If no such plugin exists, I'm looking for so...
Hi,
Is there a way (hack or work-around) to display RSS feeds on a page in a WordPress (.com) blog? I do not want to use the RSS widget because I do not want the feed to be displayed on every page. Thanks in advance.
...
I'm pretty new to wordpress and haven't found a post on this but how do you create a wordpress custom post type that includes a file input? Also, I'm creating a portfolio page that will have 3 large images and a thumbnail. is using a custom post type with file input the correct route? or should i be uploading my images some other way and...
i have 4 posts belonging to "news" category. I've added a this code in single.php to show the title of other posts in the same category in the sidebar.
<?php
$query = "showposts=10&orderby=rand&cat=";
foreach((get_the_category()) as $category) {
$query .= $category->cat_ID .",";
}
query_posts($query);
...
Hi , all
I write a simple wordpress plugins ..
it is for friend blogs , using wordpres 3
but I don't know where is the problem ..
this is the code ..
<?
/*
Plugin Name: RandFriendB
Plugin URI: http://www.abosami.com
Description: Show your frineds blogs ..
Version: 1.0
Author: abosami
Author URI: http://www.abosami.com
*/
load_plugi...
I know that WordPress remembers previously used field names which then can be selected in the
drop down list. But i want to change that behavior by introducing Name field into label and
Value field into text field . Does anybody have any idea ? thanks.
...
Hi all,
I have a page in Wordpress that displays posts with a category of "newspaper" only. Now, The posts are ordered by descending order (I think, if that is the default), such that the newest is at the top.
This is the code that I have:
<?php $my_query = new WP_Query('category_name=newspaper&posts_per_page=-1'); ?>
<?php if (have_...
I have been doing WordPress themes for a while, but the straight forward ones. Now this new client wants a theme that has the login and reg form in the theme with a lightbox. I have previously seen login forms included in themes so I agreed to that and told him that the reg form cannot be done. Then I saw modernman. They've managed to br...