WordPress.org

Ready to get started?Download WordPress

Forums

Get rid of that <p> (13 posts)

  1. karlotta
    Member
    Posted 4 years ago #

    You know the one I'm talking about! The one that is hardwired into the post, so if you're using <?php echo get_the_content(); ?> as a variable, YOU'RE TOTALLY SCREWED.

    And please don't send me to that plugin that stopped working 3 versions ago - I don't want an annoying quickfix (seriously, typing "sponge" in custom fields? You're supposed to make my publishing easier, not ridiculous!?), I WANT YOU TO FIX YOUR CODE SO THAT IT STOPS PUTTING A P IN MY POSTS WITHOUT MY PERMISSION.

    Or at least, let it be no <p> in html mode! SERIOUSLY.

    HORRIBLE HORRIBLE HORRIBLE on the part of your scripters to have done that. It's an insult to people like me who are doing more than talk about their ponies on their website.

    Yes, I'm mad, I don't care, but how can you be on version 2.9 AND STILL HAVE SUCH A BUG? Blows my mind. If you weren't free, I'd request a refund.

  2. jmsrmk
    Member
    Posted 4 years ago #

    Well shoot...I'm looking for a way to get rid of the <p> as well that WordPress puts in my code as it really hoses up those of us who hand code.

    I'm guessing after reading this, there is no easy solution?

  3. Tsalagi
    Member
    Posted 4 years ago #

    Karlotta. Have you found a fix for what it is that's got you all fired up!
    I like that spark! Anyway, I'm not clear on what your talking about. I've used <?php $gtc = get_the_content; echo $gtc; ?> and I don't see a p tag anywhere. Can you give specifics about how your using it? I'll try to figure it out. I fix a lot of things without using plugins as I don't like how unreliable they are either.
    Let me know if you still need help.

  4. design_dolphin
    Member
    Posted 4 years ago #

    Search phrase used: wordpress remove p
    Search engine used: Google

    Search result:

    http://folkspants.com/wordpress/theming/remove-paragraph-tags-from-your-wordpress-posts-so-your-media-stays-put

    Does this work?

  5. karlotta
    Member
    Posted 4 years ago #

    I actually ended up using the WP Unformatted plugin... but i'll check into your link, design-dolphin, thank you!

    http://wordpress.org/extend/plugins/wp-unformatted/

  6. jimisaacs
    Member
    Posted 4 years ago #

    remove_all_filters('the_content');

    or

    remove_filter( 'the_content', $function_to_remove, $priority );

  7. jimisaacs
    Member
    Posted 4 years ago #

    My problems with WordPress are getting numerous, as you may tell from my recent post in this forum: http://wordpress.org/support/topic/382009?replies=11

    Basically, this is how the concept of development in WordPress has been. Put something into the core and turn it off when you don't need it. RATHER than the rest of the development world that makes something considered "extra", makes it available, but turned OFF by default.

    I have a lot more to say, but I would rather like for people to actually give me their opinions than to go on and on. It seems harder than I could have ever expected to get actual feedback after spouting legitimate criticism. If you read through that post you may notice where I mention that as a developer within this community I feel like I must jump through hoops to get anything that I've done noticed by what this community has labeled "The Core Team". So yes, I'm sure thousands of us have our fixes for all the problems of WordPress, but no it will not be implemented because it was either not approved by the right person, or it is not "Core" material.

    The community has really mirrored itself to take the form of the architecture of the project. This is what happens in software development. There are chunks of work to be done, and people take responsibility for those chunks. When you specify a "Core" at the center of the application, what do you think will happen to the community surrounding it? It's only common sense...

    Anyway, I am not giving up on WordPress or its community. I have been a part of this community for over 2.5 years of my life. I was just tired of keeping what I felt to myself. Which is another great part of open source, opinions can fly.

  8. MichaelH
    Member
    Posted 4 years ago #

    jimisaacs - deleted your unrelated post - start a new topic please.

  9. jimisaacs
    Member
    Posted 4 years ago #

    You tell me how it was unrelated?

    I was talking about how the mentality that is to add things to the core then tell people to turn it off, rather than the other way around.

    If you are really and truly saying that that isn't relevant to the problem karlotta and thousands others face such as this, you have officially made me mad.

  10. MichaelH
    Member
    Posted 4 years ago #

    Okay rather than argue, undeleted it.

  11. karlotta
    Member
    Posted 4 years ago #

    I'm with Jim here!! It's nice to know I'm not the only one frustrated with some aspects of WordPress. This said, it's really cool, and my website's been WP-based for years. I also do design work for clients every now and then, and I almost always build their site on wordpress. It's easier for them to update!

    [moderated] Please no bad language, even if it's implied, switching a few characters around does not make the word any more suitable for a forum that allows users of any age (it's not just adults here).

  12. Tsalagi
    Member
    Posted 4 years ago #

    Karlotta. Please post the code you are using that injects a paragraph tag into your web page, so we can all be aware of what your experiencing. I've done some testing and do not see a paragraph tag when that code is executed. Thank you.

  13. Mark / t31os
    Moderator
    Posted 4 years ago #

    I'm sorry Jim i'm with Michael on this, just a link to that thread here would have been appropriate(as you've done), there's no need to reitterate points you already made in your own thread.

    karlotta the above mod note is from me, not Michael, just so it's clear.

Topic Closed

This topic has been closed to new replies.

About this Topic