# All Questions

95,160 questions
4k views

### Link to File URL by default

Every time I insert an image into my post, the default link is to the image attachment page. How can I change it so it always links to the File address?
230 views

### How do I display the latest Flickr OAuth embedded image on the frontpage?

I have a Flickr category among my blogposts where I just paste in the direct links from Flickr, and let OAuth do it's thing to hotlink/embed the photos in the post. On my frontpage I am trying to ...
119 views

### after server upgrade, if I enable custom permalinks, my /feed stops working

I have recently moved server and upgraded my wordpress install to the latest version. Now if I try to access /feed, I get a 404. It used to work. /?feed=atom works correctly. Thanks. UPDATE: I ...
989 views

### Hide page title in Wordpress 3.0

I can't find the option to hide the page title. Is there some other plugin required to get this functionality? If you look in this video video you can see the option to set the page title. I don't ...
322 views

### List Category Posts rewrite necessitates rewrite of customised templates

I just upgraded the List Category Posts plugin from .17 to .18.3, and it broke my customised template :(. My setup: WP 3.0.4 multisite network enabled, local installation with MAMP, PHP 5.3.2. LCP ...
3k views

### How to retrieve the value stored in a multi-dimensional array and SUM the entries?

I'm trying to retrieve multidimensional values stored in user_meta where the meta key is my_posts and the meta_value is : a:3:{i:0;s:2:"23";i:1;s:2:"20";i:2;s:1:"9";} Somewhere in the admin page i ...
1k views

### Hide a page title in Wordpress 3.0

I can't find the option to hide the page title. Is there some other plugin required to get this functionality? If you look in this video video you can see the option to set the page title. I don't ...
62k views

### Display categories from custom post type

I have created custom post type 'Portfolio' also under this post type I have created Portfolio categories with following code functions.php - following is the code for custom post type i have defined ...
577 views

### bbPress or WordPress + forum plugin?

I've been using bbPress for a while and I've noticed some bugs in my fresh installs. This makes me wonder if I should consider to just use WordPress with a forum plugin. Any experience building a ...
474 views

### How to enumerate a list of posts?

I've created a page with a list of posts from a specific category. I would like to enumerate this list like this: lecture 1: post title 1 lecture 2: post title 2 lecture 3: post title 3 etc. How can ...
11k views

### Multiple featured image thumbnails for post types (Multiple Post Thumbnails plugin)

I found a plugin called Multiple Post Thumbnails and followed the directions in getting it set up. Everything shows up correctly in the admin dashboard (i.e. shows two sections to upload two separate ...
147 views

### What Can I do To Achieve this Effect: WIP -> Portfolio

Suppose for projects, I will have a bunch of WIP (category) posts. Then once it's done I will create a Portfolio post for it. I will want to link this Portfolio post with the WIP (similar to related ...
6k views

### Help with a little CSS logo/header modification?

I've almost got this figured out, but I'm a total newbie to coding and this last bit is confusing me. I'm trying to get my logo "mascot" to be flush with the top line of my header, and sitting 'on' ...
356 views

### Post Content Displaying Below ALL Shortcodes Content

For some reason, my posts content (the content placed outside of the shortcodes I have set up) is only displaying below all the shortcodes, no matter where I place content in the post. For example, I ...
1k views

### WordPress crashes with “The service is unavailable.” after trying to upgrade plugins

i went to upgrade my plugins and it never came back .. now when i go to my blog i get an error stating: The service is unavailable. i tried renaming the "upgrade" folder under wp-content but that ...
126 views

### Is it possible to read the ID of a post and then insert it into the html of the post?

If possible I want to insert the ID of a post(from a custom post type) into the html of the post itself when its loaded in the viewport. The scenario is that the content of the custom post type is ...
1k views

### Which WordPress books should I recommend to a beginning web designer?

I have a friend who has a background in graphic design. She has taken a particular interest to web design. I am a software developer/system administrator, not a web developer, and I'm certainly not a ...
230 views

### How to automatically convert “%” and “+” in image urls on upload

I mass import products via csv and use this plugin http://wordpress.org/extend/plugins/cache-images/ to download the images to my server. Problem is some of the image urls have % and + characters in ...
2k views

### featured image is not showing

i have a problem with my website my feature images are not shown i have uploaded it as set as featured image but after so many tries there is no way to show the feature image please help me
4k views

### How do I get terms as a list for a specific post?

get_terms allows me to get all taxonomy values, but how do I limit this to a certain post? I don't see anyway to feed a specific post ID to get_terms: http://codex.wordpress.org/Function_Reference/...
362k views

### Get WordPress post content by post id

How can I get WordPress post content by post id?
502 views

### Custom Page Template [closed]

Could somebody help me make a custom page template? I'd like to have a basic page (with sidebars, header and footers) and a table for data. I'd like the data to be taken from custom fields. ...
926 views

### create a back-end wordpress content submission using custom post type

I have a previously created thread here, but was recommended to make a new one: I need basic help with custom post types Basically here's my project: I have to create a back-end wordpress gui user ...
134 views

I have a widget area on my posts category pages and am wondering if there is a way to dynamically add a link to the first post as well as the current post of the category. I think the first post can ...
133 views

### free form wordpress

My question is kind of simple: I have a voucher. I would like to people fill an form on my WordPress site and when they click submit, they receive an e-mail with the voucher... Is there a plugin out ...
2k views

### How to get the post id from a permalink?

How can I get the post id from a permalink like "http://localhost/wordpress/animals/cat" in functions.php, I have tried url_to_postid() and get_page_by_path() but none seem to work.
1k views

### Selecting New & Edit Page for Custom Post Types

I'm probably missing something unless it's really not possible, for some reason I can't get my function to only execute on the new and edit page of a custom post type (the new not being a problem): I'...
338 views

### Janrain/Simple Modal under Redirected Domain

I have a wordpress site running on one domain that has the main 'client' domain for the site redirecting to it. I've got my Wordpress Address/Site Address entered correcting in Wordpress, and the ....
452 views

### Making custom field's 'Name' available in the dropdown list by default in a theme?

My single.php file has the following code: <?php // Set and display custom field $intro_image = get_post_meta($post->ID, 'Intro Image', true); ?> <div class="block-1"> &...
786 views

### want to stop stripping out from my post content

I have installed wordpress for my site. I am trying to insert posts using function wp_insert_post() from my self-made script. content of my post contains video-embed code of google. <object width="...
3k views

### LaTex MarkUp - align equations

I'm very elated by the fact that it has LaTeX support. I would like to know whether the \begin{align} \end{align} environment could be used, because it looks very good since the equations are aligned. ...
2k views

415 views

### Comment form in wordpress theme returns a javascript alert

I have a wordpress custom theme that started giving a weird error out from the blue. Every time you post a comment it will return a javascript alert with all the content of the page. I haven't made ...
2k views

### Displaying Child pages of the current page in post format and their thumbnails (featured image)?

I'm using the following code I got from the Wordpress codex: <?php // Displaying Child pages of the current page in post format $mypages = get_pages('child_of='.$post->ID.'&...
405 views

### how to stop a gallery slideshow

I am using the Dynamix WP theme. I have three images displaying in a loop with fade effect. The images continue to fade from one to other. However I would like to stop this effect once all images have ...
6k views

### Custom post type archive with pagination?

I have a custom post type called 'projects' (pastebin) and I have a page called Projects set up in my dashboard which is set to display the Projects template. (pastebin) The problem is when I use ...
248 views

### Timed content and flagging content as viewed by user?

I'm trying to put together a site with membership functionality and i'm having most of what i need together. However, what's still missing in the mix are two things: I need to be able to display ...
3k views

### WPML taxonomies not translated

I'm using WPML for multi-language website. It works really well except for custom taxonomies. In admin, I can only join foreign posts to foreign taxonomies (which is exactly what it should do) but on ...
375 views

I am using the wordpress menus on a website, but the problem is that one of the links on that menu is www.homepage.com/#order So, when I am on the homepage, both "home" and "order" links on the menu ...
117 views

### I want to print a message in post “ After one month from publish date”

I need to showing message in post , but after one month from publish date. I try to make it before ask you, but I can't this is my code $publish_date =$post->post_date_gmt; ...