• I want to create an alternate filter/theme which only shows a list of links, each linking to the full artice.

    How can I do this? Is it even possible to have 2 different views of the same data? And how do I do it? Which a theme, plugin, filter… which?

Viewing 2 replies - 1 through 2 (of 2 total)
  • How can I do this?

    Make a custom loop to display the content you’re looking for.

    http://codex.wordpress.org/The_Loop

    something like the following should do the trick:

    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
     <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    <?php endwhile; ?>

    Which a theme, plugin, filter… which?

    Kinda depends on how / where you want the data to display and what you’re comfortable with. here’s a quick look at creating custom page templates and modifying the loop:
    http://www.loadedpress.com/2010/11/custom-page-templates

    Thread Starter iron_arm

    (@iron_arm)

    Articles are published… They have headings and content, etc.
    The requirement is to have links to the last 5 articles on a different website. A simle list a links, nothing more. Currently i’m using PERL to parse the XML word press creates and posting the links on a secondary site. This works fine. But, the boss would rather eliminate the need for this extra script. So i’d like to do this within word press.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter, Plugin or Theme’ is closed to new replies.