Add posts to a wordpress page plugin?

12 replies
  • SEO
  • |
Is there a plugin that does this? currently using https://wordpress.org/support/view/p...posts-to-pages but i'd prefer a easier to use one, i want to add post titles to a specific page
#add #page #plugin #posts #wordpress
  • Profile picture of the author jezter6
    I've been using Display Posts Shortcode.

    Probably a little more difficult to use, and you have to create your own stylesheet stuff to get it to display how you want it.
    {{ DiscussionBoard.errors[9684787].message }}
    • Profile picture of the author tommybc
      Originally Posted by jezter6 View Post

      I've been using Display Posts Shortcode.

      Probably a little more difficult to use, and you have to create your own stylesheet stuff to get it to display how you want it.
      that looks a bit too difficult, any that displays category/tagged posts on a page only?
      {{ DiscussionBoard.errors[9685004].message }}
    • Profile picture of the author tommybc
      Originally Posted by jezter6 View Post

      I've been using Display Posts Shortcode.

      Probably a little more difficult to use, and you have to create your own stylesheet stuff to get it to display how you want it.
      actually this is good, bur what shortcode do you enter in the posts for it to work?
      {{ DiscussionBoard.errors[9687574].message }}
  • Profile picture of the author CutPasteProfits
    I'm looking for a solution to this problem as well. You'd think all these years wordpress would have a built in solution but I've come across 2 plugins that look decent. Might buy one later today:

    Content Views Pro - Display WordPress posts in amazing layout
    WordPress - Wordpress Posts Listing Plugin | CodeCanyon

    If you buy one please let me know and I'll purchase the other so we can see which one is better

    Cheers
    {{ DiscussionBoard.errors[9687079].message }}
  • Profile picture of the author w3webtools
    very difficult! me too.
    {{ DiscussionBoard.errors[9687467].message }}
  • Originally Posted by tommybc View Post

    Is there a plugin that does this? currently using https://wordpress.org/support/view/p...posts-to-pages but i'd prefer a easier to use one, i want to add post titles to a specific page
    Why don't you just do this manually? You just want the post title on one of your pages correct?
    {{ DiscussionBoard.errors[9687577].message }}
    • Profile picture of the author tommybc
      yes i wan't all posts under one category to have their headings posted to a page, which gives clickable links to the posts
      {{ DiscussionBoard.errors[9687692].message }}
  • Profile picture of the author SEO-Dave
    Originally Posted by tommybc View Post

    Is there a plugin that does this? currently using https://wordpress.org/support/view/p...posts-to-pages but i'd prefer a easier to use one, i want to add post titles to a specific page
    I'd not used that plugin, but it's the sort of feature I look for to add to the theme I develop so gave it a test.

    That's pretty much as easy as it's going to get if you want the post links added automatically.

    All you do is activate the plugin and add this in the post you want the links to load:

    To pull posts from a category

    Code:
    [add_posts category=category-slug show=5]
    To pull posts from a tag

    Code:
    [add_posts tag=tag-slug show=5]
    All you have to do is find the category or tag slug and those are part of the URL of the categories and tags. If you have a category called My Stuff the category slug will probably be "my-stuff" and your code would be.

    Code:
    [add_posts category=my-stuff show=5]
    The show number is how many posts to show.

    There are other features like thumbnails, but the above is th basic usage.

    Only way to make it easier would be the shortcode is a button on the posted Edit page.

    I have a similar feature to this as part of the theme I develop, but with a lot more features, it also uses shortcodes and widget areas (can add a widget area anywhere on a page).

    David
    {{ DiscussionBoard.errors[9687685].message }}
    • Profile picture of the author tommybc
      Originally Posted by SEO-Dave View Post

      I'd not used that plugin, but it's the sort of feature I look for to add to the theme I develop so gave it a test.

      That's pretty much as easy as it's going to get if you want the post links added automatically.

      All you do is activate the plugin and add this in the post you want the links to load:

      To pull posts from a category

      Code:
      [add_posts category=category-slug show=5]
      To pull posts from a tag

      Code:
      [add_posts tag=tag-slug show=5]
      All you have to do is find the category or tag slug and those are part of the URL of the categories and tags. If you have a category called My Stuff the category slug will probably be "my-stuff" and your code would be.

      Code:
      [add_posts category=my-stuff show=5]
      The show number is how many posts to show.

      There are other features like thumbnails, but the above is th basic usage.

      Only way to make it easier would be the shortcode is a button on the posted Edit page.

      I have a similar feature to this as part of the theme I develop, but with a lot more features, it also uses shortcodes and widget areas (can add a widget area anywhere on a page).

      David
      i tried it but the images don't align with the text and the author doesn't know how to fix (read the posts about it) i need one that will allign the images properly
      {{ DiscussionBoard.errors[9687688].message }}
      • Profile picture of the author SEO-Dave
        Originally Posted by tommybc View Post

        i tried it but the images don't align with the text and the author doesn't know how to fix (read the posts about it) i need one that will allign the images properly
        I was looking at the code of the plugin, it's a simple plugin.

        line 243

        Code:
        <a  class="post-thumb alignleft" style="float:left; margin-right:15px;  clear:both;" href="' . ****permalink . ' ">'
        This should float the images to the left with a right margin of 15 pixels.

        BUT

        What the plugin developer has done is add a couple of CSS classes post-thumb and alignleft plus add overide inline CSS to float left.

        Problem with this is if your theme (probably in it's style.css file) has a rule for

        post-thumb
        or
        alignleft

        It could make a bit of a mess in combination with the inline CSS.

        Have a look at your themes style.css file and check for the words (note the dots)

        .post-thumb
        and
        .alignleft

        You'll probably have a CSS rule for .alignleft as it's a WordPress core class used by images added by WordPress. It's what's added when you align an image to the left when adding images using the WordPress media button.

        I would edit the plugin, edit the file under

        /wp-content/plugins/add-posts-to-pages/index.php

        Change line 243 to

        Code:
        <a class="alignleft" href="' . ****permalink .  ' ">'
        This should use your themes CSS rules for alignleft, most themes have that class. If your theme doesn't have an alignleft class it won't work, but it's unlikely a theme today won't have that rule.

        With this code you should have the image on the left and the link floating to the right of the image. If the images mash together try this code:

        Code:
        <a class="alignleft" style="clear:both;" href="' . ****permalink . ' ">'
        This will force the next image to start on a new line if your theme lacks the clear floats rule.

        David

        Edit looks like the forum strips dollar signs, replace **** with a dollar sign.
        {{ DiscussionBoard.errors[9687718].message }}
  • Profile picture of the author SEO-Dave
    Did I misread what you want? Do you want the post titles to link to the posts?

    If so that's what that plugin does, if not (so just want the title of the post as text, not a link) it doesn't do that.

    David
    {{ DiscussionBoard.errors[9687689].message }}

Trending Topics