The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
4answers
10k views

Keep HTML format when switching from Visual to HTML editor

I've been looking around for a solution that will allow me to edit HTML code and have it remain after a switch to the Visual editor and back. I've tried a bunch of things with no luck: the ...
2
votes
2answers
858 views

Comment formatting with comment_content

I'm displaying a comment outside the comment template, getting it with get_comments() and echoing the comment_content. My problem is that the comment loses the formatting (paragraphs, line breaks, ...
0
votes
2answers
166 views

why doesnt my formatting work in my wisiwig editor?

I am trying to format my post with extra blank lines. But for some reason they dont get reflected when i save it? But the underline etc work fine Any idea how to sort this problem
1
vote
1answer
706 views

Is sanitize_title_with_dashes formatting function too liberal (in terms of accepted characters)?

sanitize_title_with_dashes (see code below for reference) is the function Wordpress uses to format "pretty" urls. However, contrary to the function's comment header, it allows much more than ...
0
votes
2answers
730 views

Wordpress no longer holding post formatting

When creating a new post, by entering either manually or pasting from another document, TinyMCE (the default WordPress editor) does not seem to hold any type of formatting. For instance I create a two ...
0
votes
1answer
101 views

Problem with -> in pre tags

Hello I am having a problem in a pre tag. All of a sudden all my '->' appear as '-&gt ;' on my blog. How can I solve this? I have updated to the newest version.
4
votes
2answers
770 views

Remove wptexturize from a shortcode?

Is there a way to remove wptexturize only for a certain shortcode?
0
votes
3answers
2k views

Automatically added brs and paragraphs?

Here's my very simple shortcode: function box_shortcode( $atts, $content = null ) { extract( shortcode_atts( array( 'width' => 'auto', 'height' => 'auto', ...
0
votes
1answer
151 views

Formatting error with source code on WordPress.com?

I've been trying to post some Java code to my blog, but it seems like it has some problems with the formatting. First, whenever I copy/paste code into the editor, it's pasted as pre-formatted, which ...
0
votes
3answers
498 views

Style wordpress image captions in RSS

My WordPress site includes the full article in its RSS feed. This includes the text of the post and basic formatting. It also includes post images and their captions. The problem is that my captions ...
-1
votes
1answer
165 views

Can't get blog entry to format properly using wp-load

I'm setting up a blog that I'm trying to integrate the posts of into old site pages. The $id = $_GET['article_id']; $post = get_post($id); setup_postdata($post); echo $post->post_content; ...
1
vote
1answer
2k views

Formating the display of a post's date, outside the Loop

I'm using this function to be able to retrieve several data, from outside the Loop: function get_post_data($postId) { global $wpdb; return $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE ...
11
votes
2answers
12k views

can I add a custom format to the format option in the text panel?

In the text editor, where you can set headings and other settings, is it possible to add your own styles for clients to use? and even remove the unnecessary ones?
2
votes
2answers
293 views

Why is WordPress WYSIWYMG and how do I make it WYSIWYG?

WordPress may have a text editor that appears to be WYSIWYG, but upon using it I discovered that it is actually WYSIWYMG- What You See Is What You Might Get (once it's done screwing with the HTML). ...
1
vote
2answers
707 views

Line breaks not showing up properly

I'm trying to have spacing show up between a paragraph and heading in the following excerpt: In my article series on handling extracurriculars, I coined the term Sovereign Zen philosophies. It builds ...
5
votes
2answers
1k views

Formatting Code Snippets on Free WordPress.com Account?

I've got a WordPress blog on WordPress.com. When posting something I'm including some sample Java code in the <code tags, is there any way I can have this formatted better? Such as syntax ...
1
vote
1answer
438 views

Format the Layout of Images In The Edit Post Textarea?

The textarea in which posts are written and edited doesn't handle image layout very well. Inserted images seem to be aligned with the left edge of the textarea, or the right edge of the previous ...
0
votes
3answers
2k views

How to Prevent WordPress from Automatically Applying Inline Styles to Post Images?

I am wondering how to prevent WordPress from applying in-line styles to image enclosing div's in posts. <div class="img size-medium wp-image-3267 alignright" style="width:190px;"> Edit: The ...