Forums/Community Help/Technical Support

Answered

Setting up a Template

Amanda Sanchez
asked this on March 16, 2011 13:16

Hello. I have a question regarding how to set up my template.

On the homepage, I want to have the title of the news articles that the feeds are pulling in, without a link. Then in my archive page, I want the title to have a link to the external page (original source), the excerpt, then a "continue reading" button that goes to the external page as well.

So I guess my question is how do I have the title without a link on the homepage, then with a link on the archive, as well as a continue reading link? If the two different ways of the title isn't an option, how do I get a continue reading button which is a link?

 

Comments

User photo
McPace
Customer Access

The function of having the title be a link or not is within your theme. Autoblogged can bring the post in and store whatever data you need. Then you have your theme control when to output the data and how. You could store the link to the original source in a custom field.

For example to output just the title you'd use <h1><?php the_title(); ?></h1> and then on your archive page you would use <a href="<?php the_permalink_cutsom_field() ?>"><?php the_title(); ?></a>.

Sorry it's not a complete solution, but it's a starting point. I'm doing the same for a number of items from the feed then displaying them in different ways around the network

 

February 01, 2012 10:45.
User photo
AutoBlogged Support
Customer Access
Ajax_loader_small Answer

You can do it with your theme but we also have a plugin that will do that. Get the permalink changer plugin here:

https://github.com/AutoBlogged/AutoBlogged-Addons

February 02, 2012 16:58.