• Resolved jamiew

    (@jamiew)


    I’ve been working on this for hours now, so I’m using my lifeline here.

    Here’s the goal: Lists of links within pages. Example: http://www.jamieandholly.com/links

    I’d like to do this w/o creating seperate template files to be called (I’d like them to all be generated off index.php).

    I’ve tried the “Execution of All Things” plugin as well as the “Run PHP” plug-in to call the get_links_list template tag — but neither plug-in seems to work for this.

    There has to be some way to pull the content of links into my pages. My end goal is to be able to allow my wife to do things like easily add recipes to our website just by building a link and adding it to the ‘recipes’ category. All help appreciated!

    Website: http://www.jameandholly.com
    Links Page: http://www.jameandholly.com/links
    Recipes Page: http://www.jameandholly.com/recipes

Viewing 4 replies - 1 through 4 (of 4 total)
  • Okay, much confusion. First of all, the sites you have referenced at the bottom are wrong. The one at the top is right. Hard to get help when the links don’t work.

    I’m not sure what you are trying to do. If you have categories set up, do you want those to show up on the front page or not?

    They will automatically. Or you can customize them to only be seen on specific category pages.

    You are going to have to be a little more clear about this.

    I recommend you check out the WordPress Codex at http://codex.wordpress.org/ to get more information on what you want to do. And for just making links:

    http://codex.wordpress.org/Linking_Posts_Pages_and_Categories

    For creating customizable lists of posts in the sidebar:

    http://www.coffee2code.com/wp-plugins/

    Thread Starter jamiew

    (@jamiew)

    Sorry my links were bad. I missed one letter in my URL. The should have been:
    Website: http://www.jamieandholly.com
    Links Page: http://www.jamieandholly.com/links
    Recipes Page: http://www.jamieandholly.com/recipes

    The goal is to be able to display a series of links, based on categories, within the main section of the page. For instance if my categories are Baseball, Basketball, and Football, I can build a page in WP called “Favorite Teams” that would have this content:
    <Strong>Baseball
    <contents of category of Baseball links>
    Basketball
    <contents of category of Basketball links>
    Football
    <contents of category of Football links>

    The goal being that when I get a new favorite team (in this example) I can simply add a link to that category and it is dymnamically added to that page.

    So no, I am not trying to get links to show up the front page, I am trying to get them to build into a certain page. And yes, I have spent hours in the codex trying to find how to do this. Any other help?

    Thread Starter jamiew

    (@jamiew)

    Well I figured it out. The key was the PHPExec Plugin: http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/

    Here’s the exact code that makes it work once you install the plugin:

    <strong>Family</strong>

    <ul>
    <phpcode><br />
    <?php get_links(3); ?><br />
    </phpcode></ul>

    In action: http://www.jamieandholly.com/links

    Incase you’re looking for an alternative to PHPExec (for any user), there is another plugin called RunPHP which does basically the same thing.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Links within Pages’ is closed to new replies.