WordPress.org

Ready to get started?Download WordPress

Ideas

WordPress Theme Revamp

  1. jfenocchi
    Member

    WordPress is a great blogging platform, and it makes a great CMS if you really know your stuff, but using it as anything beyond the pre-created functionality (including themes) is problematic, confusing and very procedural. WordPress needs to separate themes from the WP core a little bit more.

    I propose rewriting the WordPress theme system using XSL. This would provide a standardized, compliant system that anyone who knows XSL can use to create their own WordPress theme, without worrying about learning the ins and outs of WordPress's PHP function names, nomenclature, objects, methods, or classes.

    This would, of course, be backwards-compatible with current themes. There are a few approaches on how to deal with that. I think that an XSL-based theme system is what WordPress needs. Thoughts?

    Posted: 3 years ago #
  2. Mark
    Member

    12345

    I don't think so. The current system works very fine for very many people. A fraction of these people would be conversant enough in XSL to do this. Besides, achieving the current flexibility of WP Themes would requiring contorting XSL beyond recognition. It wouldn't be any easier.

    Posted: 3 years ago #
  3. pedrokoblitz
    Member

    12345

    You do not need to 'revamp' the theme system. All you need is to either use the RSS feeds which you can filter by category, author and tags or build a XML theme with your own queries.

    If you use the feeds, you'll need to access them via curl or file_get_contents (whatever works). In both cases you can process the documents with php5 XLSTProcessor class.

    Using functions like is_category() and is_frontpage() to build conditional queries, you can actually build a wp-xsl theme with just index.php, style.css and a bunch of xsl stylesheets.

    Posted: 3 years ago #
  4. Pokale
    Member

    12345

    I also think that this is not the best idea. Why would I want to do this?

    Ok, one has to learn the wordpress php codes but when you look at them they are pretty self-explanatory and not too hard to understand...

    Posted: 2 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    13 Votes
  • Status

    Sorry, not right now