How to modify Wordpress Custom Post Type URL?
I observed that if I have a custom post type called article, the links become mysite/article/title-of-article-here. How do I make the links to have this pattern -- mysite/title-of-article-here? ...
I observed that if I have a custom post type called article, the links become mysite/article/title-of-article-here. How do I make the links to have this pattern -- mysite/title-of-article-here? ...
Hi all, i have a Problem with my Wordpress Design, specialy with Dropdownmenu. http://fincha.com/wordpress/ Check this, in the main menu "Versicherungen" you will see, i tryed allready all combinations with z-index... without results. :( if some one have a nice idea for this menu, just tell :) thx ...
How can I show the last modified date, when my Mysql-database was updated? (I know there is plugin for showing latest modified date for post/pages, I want to do similar, but show when fields/metadata was updated) Thankful for answers" ...
Hi All, I'm developing a Wordpress theme. One of the sections on the front page is titled News. In that section the user should be able to insert information himself (I'll make a separate file called news.php which will php included into the markup), but I also want the content to be automatically updated once the user makes a post. Fo...
Hey! I am creating a tutorial site for music producers. On each tutorial (post, that is) there will be some information that are repetitive and recurring, so I was wondering what's the best practice to enter this data while creating a post to later being able to present it in the post? This is an example, where the data is bold and lab...
Hi, I have a "static" page set up as my front page for Wordpress. I have this in the index.php file: <?php if (is_front_page() || is_home()) { ?><p>TEST FRONT PAGE</p> <?php } ?> For some reason, the "TEST FRONT PAGE" does not show up on the front page, but does show up on the posts page (as i...
Anyone have any ideas on how to do this? I've found one plugin, but it doesn't do the job. I'm basically using Wordpress as a CMS, and I just want to make one "page" both private and password protected, i.e. you need a password to view the page and it doesn't show up in the menu. ...
I am going to build a site that is mainly a word press blog, but the blog will have a link to a shop area where you can purchase products. I am going to have to build an admin page for the site owner to add/remove products. Since they are already going to be using the WordPress admin for their blog, I am wanting to integrate the produc...
Is there a way to get all the posts from a taxonomy in Wordpress ? In taxonomy.php, I have this code that gets the posts from the term related to the current term. $current_query = $wp_query->query_vars; query_posts( array( $current_query['taxonomy'] => $current_query['term'], 'showposts' => 10 ) ); I'd like to create a page with all...
i am working on a massive site for a client, but their current website (thousands of pages deep) is built on a legacy blogging platform that was built specifically for them in aspx. My job is to take all of the SQL tables filled with data(comments, categories, posts, titles, dates, etc) and convert them to a wordpress ready format. I wan...
Hi, I am struggling to activate wordpress logs. No way in hell I was able to do that. I tried all recommendations. No success. I have done: define('WP_DEBUG', true); @ini_set('log_errors','On'); @ini_set('display_errors','On'); @ini_set('error_log',TEMPLATEPATH.'/error.log'); I am using wordpress on windows using IIS server on my d...
Hey Guys, I've got a function to add a tag by post ID, but now I would like to delete all the current tags for that ID before adding my new tags? Does anyone know a built in function or wordpress query to do this? -Hudson ...
Hi, I've a self installed wordpres blog full of Python snippets and I'd like to have them highlighted (source code colored). I tried to install a couple of plugins like wp-syntax and Jquery.Syntax but they require me to edit all my posts adding some attrs to the pre tags. How can I hack into the plugins or wordpress in other to apply t...
I have a taxonomy-taxonomy.php page that needs to look like so: CUSTOM POST TYPE TITLE (RESOURCES) Custom Taxonomy 1 (Resource Types) Resource Type Term 1 (White Papers) White Paper post 1 White Paper post 2 White Paper post 3 Resource Type Term 2 (Videos) Videos post 1 Videos post 2 Videos post 3 Tried to make sense of al...
I have a certain amount of characters that I can fit in the spot I want to display the category. So I was wondering if there was a way I could limit the ammount of characters that this function can output. I want to limit this functions output: <?php the_category(', ') ?> outputs: WordPress, Computers, Blogging Something like this: ...
Premise: I'm creating a site in WordPress 3.0. I'm trying to craft a URL with a set of parameters that gets me all posts for a given category in a given month in a given year. This works just fine if I have permalinks turned off: http://localhost/?category_name=category-slug&year=2010&monthnum=7 But if I have permalinks turned ...
Hi, I tried to do this in many ways, but I really cannot exclude directory "progress" from wordpress rewriting rules in .htaccess. I found many solutions but none of them seems to be working. .htaccess in root directory of wp contains: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENA...
If anyone is running Apache 2.2 (prefork) + Pecl-APC + Wordpress, could you please tell me how large each apache process grows on your machine? Mine are growing to almost 100mb each and I know something is not right. Without APC installed, the apache processes only grow to 30mb TOPS. I just want to know what it should be (roughly). Th...
I am creating a custom post type called Article. The article needs a field called signature that uses the Tiny MCE. I was able to achieve this but there is an extra border that shows outside the Tiny MCE Editor. http://webypedia.com/wp-content/uploads/2010/07/tiny-mce-custom-field.jpg My goal is to make the signature field editor simi...
I am creating a custom post type called article and it has a custom field called category. The categories are hierarchichal and they can reach a large number. Is it possible to make the categories in the admin page collapsible similar to a tree that can fold/unfold. This is to make the user experience better while creating a new article...