wp pages?

by 14 replies
17
Hey guys,

Does someone know a way to add posts to your another page as the homepage?

I'm installed a category page plugin by Pixline but I don't manage to get this working

Thx

Bart
#programming #pages
  • Hi Bart,

    You want to show posts in a page which is already set as Homepage..right?

    I think it can be done with PHP code in your WP theme page.php file.
    Where we put wordpress code so that it fetches the posts from db, you can
    even set this to fetch from certain category only...

    I can help you with this issue if you send me the details of your blog and ftp,
    at WarMarks.com | Warrior Marketing Solutions support desk. And also include the category name
    or ID from which you want to pull the post and display at homepage-page.. also
    do you want complete posts to show or excerpts with the links to full posts....

    May this help,
    Mohsin
    • [1] reply
    • I don't know if I was exactly clear about it..

      I wanna have different posts show up on different pages..

      take a look at the link below.. I created a page 'motivation'.. and I want my posts for that category showing up there.

      Hope that makes sense.

      Thx

      Bart
      • [1] reply
  • I agree with what Mohsin said! That's exactly according to me how it is carried out but I remember seeing a plugin for this, I tried searching but no link found, if I get I will inform you
  • I didn't know there was a plugin to do that. Thanks!

    I actually MANUALLY coded my Wordpress files to do just that. (For example, the "Testimonials" on my site).
  • I too usually hard code it into a specific Page Template. Interesting that plugin.
  • Nice! Thanks unintuitive.

    BTW, anyone knows if there is a plugin that allows when we add a page, to view that page in "full width", i.e. make the sidebar go away? Possible use: for sales page, ecommerce, etc.
    • [1] reply
    • What I do is create a new Page template, clone it from existing page.php, remove the sidebar, edit the DIV and CSS so the content area stretches or is centered. Create a new Page and assign the Page template to it.
      • [ 1 ] Thanks
      • [1] reply
  • While I'm fairly new to CSS programming, I think pretty get your post.

    I'll try it tonight or tomorrow.

    I'll give feedback afterwards

    Thanks

    BTW I didnt know we could have multiple page templates at the same time.
  • Nice share on the plugin. Well not always the case, excessive plugins can cause performance issues so hardcoding might be the answer w/ page templates. Just something to consider.
  • Yes you can. That's the beauty of WP quite simplistic yet powerful.

    Ok the edit the DIV and CSS I can't give you exact code because it all depends on the theme but here's something that might help. Let's say the DIV that holds the content is
    <div class="main-content">

    I would change it in the template to <div class="main-content-wide"> or whatever you want to name it.

    In the CSS, I will look for .main-content you may have several instances of these. I'd copy them all to the bottom of the stylesheet, change .main-content to .main-content-wide then edit the width.

    Hope that will get you started.

Next Topics on Trending Feed