All Questions

1
vote
1answer
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?
1
vote
1answer
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 ...
0
votes
2answers
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 ...
0
votes
1answer
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 ...
1
vote
1answer
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 ...
1
vote
3answers
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 ...
0
votes
3answers
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 ...
4
votes
2answers
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 ...
2
votes
4answers
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 ...
1
vote
3answers
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 ...
4
votes
3answers
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 ...
0
votes
2answers
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 ...
0
votes
1answer
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' ...
0
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
3answers
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 ...
7
votes
6answers
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 ...
0
votes
1answer
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 ...
0
votes
1answer
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
0
votes
2answers
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/...
136
votes
4answers
362k views

Get WordPress post content by post id

How can I get WordPress post content by post id?
0
votes
1answer
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. ...
2
votes
2answers
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 ...
2
votes
1answer
134 views

Post Navigation

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 ...
0
votes
1answer
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 ...
0
votes
1answer
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.
1
vote
2answers
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'...
0
votes
2answers
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 ....
1
vote
1answer
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"> &...
1
vote
1answer
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="...
5
votes
3answers
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. ...
0
votes
2answers
2k views

Am I using get_posts wrong?

I have <?php $folioPosts = get_posts(array('category_name' => 'portfolio', 'numberposts' => 3)); if ($folioPosts->have_posts()) : foreach ($folioPosts as $folioPost) : setup_postdata($...
6
votes
2answers
2k views

How to cleanly delete attachment but retain original file?

wp_delete_attachment() is very comprehensive and wipes every trace of attachment from database and disk. Is there easy way to keep original file? Forking under another name is not an option, because ...
0
votes
2answers
738 views

Import CSV to MySQL, with custom registration field information

I have to update the information of 1500 members of my clients Wordpress site. I'm using a membership to manage paidd subscriptions and I have to update the custom fields generated by this Plugin. I ...
19
votes
1answer
2k views

Optimize post insert and delete for bulk operations?

Not much noticeable when working with individual posts, but when you create or delete multiple thousands in bulk and by code - process is quite slow. Are there any good tweaks to apply and corners to ...
10
votes
3answers
17k views

Filter by one custom field, order by another?

I have a custom post type "Listing" and I want to get all Listings that have a custom field gateway_value != 'Yes', and order the results by another custom field, location_level1_value. I can get the ...
-2
votes
4answers
226 views

Should WordPress Add Options to Enhance Security or Leave it to plugin developers? [closed]

Based on the passion engendered with the responses to this question. It appears that the answer is a resounding "Nothing!" or "leave it to plugin developers to handle, WP is already secure enough"... ...
5
votes
4answers
73k views

In which directory do I find the HTML file of my wordpress pages?

I would like to manually edit the code my my wordpress pages. The WP interface only allows me to individually edit the CSS or PHP. The Page Edit feature gives me access to a certain part of the code, ...
0
votes
1answer
421 views

Content of post does not end up in “ShareThis” mail

I am using the ShareThis plugin in my blog. When I click on the email tab and send a mail to my friend, only the post title and post link is included in the mail. Contents are not showing up in the ...
1
vote
2answers
4k views

How do I filter title and alt attributes in the gallery shortcode?

I am displaying a post gallery inside a custom post type, using the following in my single-custom.php template: <?php echo do_shortcode('[gallery id="'.$post->ID.'" link="file" columns="5" ...
0
votes
1answer
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 ...
2
votes
2answers
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.'&...
0
votes
1answer
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 ...
1
vote
2answers
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 ...
0
votes
1answer
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 ...
0
votes
2answers
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 ...
0
votes
1answer
375 views

Wordpress menu: How to make www.link.com/#name never contain current_page_item class?

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 ...
0
votes
2answers
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; ...
2
votes
1answer
189 views

How do I redirect my blog posts to a subdomain?

I currently have my blog at alexangas.com and would like to move it to www.alexangas.com. Is this as simple as changing the WordPress Address and Site Address in Settings? How can I ensure that users ...
2
votes
2answers
1k views

Plugin to tag (add a class to?) images attached to a post?

I'm looking for a plugin that will let a user tag images attached to a post. My goal is to have a class added to the tag so that I can (hopefully) then create different jQuery image rotators within ...

15 30 50 per page