1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress posts outside of WordPress

Discussion in 'Web Design' started by shaymiller, Jul 4, 2017.

  1. shaymiller

    shaymiller Registered Member

    Joined:
    Dec 3, 2016
    Messages:
    88
    Likes Received:
    7
    i could not find a decent wordpress theme. All theme seems slow for my website So I have decided to pick any simple HTML 5 template and insert WordPress posts.

    Are they any templates already built to do that or do I just need to create my own?

    I'm only interested in WP post showing up on nice page. I use wp automatic and won't be using wp admin at all.
     
  2. rafark

    rafark Regular Member

    Joined:
    Jan 15, 2013
    Messages:
    439
    Likes Received:
    221
    Gender:
    Male
    Occupation:
    Moderador
    Location:
    Noble and Heroic MC
    Well, you could pull the posts directly from the database. It's waaay faster and can be much more memory efficient if you do it well, the downside is that there are no plugins, which I guess it's not a problem for you since you're not planning on using the admin screen.

    The key tables are wp_posts an wo_postmeta. The database design diagram is on the web if you need it.

    Oh, now that I think about it, I forgot to mention that you can use a cache plugin to generate and use a cached, static HTML page.
     
  3. Sergey Yermak

    Sergey Yermak Newbie

    Joined:
    Mar 12, 2016
    Messages:
    31
    Likes Received:
    3
    Gender:
    Male
    Occupation:
    Node.js
    Hi, I used base template from underscores.me for this, may be it will help you. But if u only need one page, I think u better do your theme from scratch.
     
  4. shaymiller

    shaymiller Registered Member

    Joined:
    Dec 3, 2016
    Messages:
    88
    Likes Received:
    7
    I did some research. I think RSS feed pull would be a better option. can someone recommend me good standalone php code to pull RSS on html pages?
     
  5. 3rykkcirtap98

    3rykkcirtap98 Newbie

    Joined:
    Mar 7, 2017
    Messages:
    21
    Likes Received:
    1
    Gender:
    Male
    You should use a theme cause they are optimized
     
  6. shaymiller

    shaymiller Registered Member

    Joined:
    Dec 3, 2016
    Messages:
    88
    Likes Received:
    7
    You should use a theme cause they are optimized
    not sure what that mean?
     
  7. shaymiller

    shaymiller Registered Member

    Joined:
    Dec 3, 2016
    Messages:
    88
    Likes Received:
    7
    @3rykkcirtap98

    Not sure what you mean by that I should use a theme? can you please elaborate.