Support Forum

Willkommen im Support Forum. Bitte nutzt das Forum für alle Fragen, Probleme und Fehlermeldungen rund um meine Themes. Um Spam zu vermeiden, müsst Ihr dazu ab sofort registriert sein. Ihr könnt hier in Deutsch oder auch Englisch posten.

Bevor Ihr im Forum postet, lest die Forenregeln. Es werden keine Fragen zu grundlegenden WordPress Funktionalitäten beantwortet. Dafür gibt es die allgemeinen WordPress Foren und den unschlagbaren WordPress Codex. Außerdem empfehle ich zuerst die Tutorials zu lesen, da dort die meisten Fragen beantwortet werden. Für absolute Anfänger, die bisher wenig mit WordPress gearbeitet haben, empfiehlt es sich, ein paar Euro in das e-Book “Sites that Soar” von Aisling d´Art zu investieren. Das Buch erklärt den Aufbau einer Website anhand von BranfordMagazine Schritt für Schritt. Es ist zwar nur in englisch verfügbar, aber doch sehr einfach und verständlich.

Dieses E-Book wird empfohlen für WordPress Neulinge, die BranfordMagazine oder WyntonMagazine verwenden wollen:

Get the e-book 'Sites that Soar'

You must be logged in to post Login Register

Search 
Search Forums:


 




Taking Feature Page One More Step?

UserPost

13:44
23. Mai 2008


Michael Oeser

Admin

posts 676

Congrats: You really got the sense of the featured page. This can absolutely be a way to deal with this template.

20:56
22. Mai 2008


smilepak

Member

posts 25

I think I have a sample working…


http://photographybykevin.net/test/?page_id=18


if you can see on the page tab, there is feature page and feature page 2, each will show it's own category list of post…


What ya'll think?


20:36
22. Mai 2008


smilepak

Member

posts 25

I think I could do this…


<?php
// enter the IDs of which categories you want to display
$display_categories = array(3);
foreach ($display_categories as $category) { ?>
<div class=”clearfloat”>
<?php query_posts(”showposts=5&cat=$category”);
$wp_query->is_category = false;
$wp_query->is_archive = false;
$wp_query->is_home = true;
?>
<h3><a href=”<?php echo get_category_link($category);?>”>
<?php
// name of each category gets printed
single_cat_title(); ?>
</a></h3>
<?php while (have_posts()) : the_post(); ?>
<?php
// this grabs the image filename
$values = get_post_custom_values(”rightcolimage”);
// this checks to see if an image file exists
if (isset($values[0])) {
?>
<a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php bloginfo('url'); echo '/'; echo get_option('upload_path'); echo '/'; $values = get_post_custom_values(”rightcolimage”); echo $values[0]; ?>” alt=”" /></a>
<?php } ?>
<a href=”<?php the_permalink() ?>” rel=”bookmark” class=”title”>
<?php
// this is where title of the article gets printed
the_title(); ?>
</a><br />
<?php the_excerpt() ; ?>
<?php endwhile; ?>
</div>
<?php } ?>


Inside the feature page template..


If I make multiple copies of the featurepage.php template, let say call it feature1.php, feature2.php, etc., each having that code section and only show a set category, that should work right? Do I need to do anything else for it to see I have multiple feature page template?


19:56
22. Mai 2008


smilepak

Member

posts 25

Your Website or Blog URL: TBD
Your themes version: 2.5.1
Your WP Version:2.5.1


Hi, I am new to the wordpress word and been scouring the google page for a great theme to fit my need. I have to say, this is the best I've seen so far. Kudo for that one, I sample over 2 dozens similar theme from paid to free type and I like this layout.


I have multiple blogs right now on blogger.com and thinking of consolidating them to one in my domain. Instead of running multiple WP on my domain I was thinking of being creative by using categories to seperate them.


The “feature page” template seems to be a good starting point. My question is this


1) Can I have multiple feature pages using the same template?


2) How would I enhance it so that the feature pages incorporate category? For example, for each feature page template used, it will be base upon a category. In that page, of course you have the featuredpageheadline, one for each pages, but below that, you list the top “x” posting in that category. Similar to how it is listed on the first page.


So essentially, each featured page could be looked at Category pages…


How would one do this?




Reply to Topic: Taking Feature Page One More Step?
Please make sure your support question wasn´t posted (and answered) before. Please use the forums search to avoid double posts.

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 3 + 6        (Required)

Topic Reply:


 

About the DER PRiNZ forum

Currently Online:

7 Guests

Maximum Online: 25

Forums:

Groups: 4

Forums: 9

Topics: 498

Posts: 1988

Members:

There are 238 members

There are 240 guests


Michael Oeser has made 676 posts

Top Posters:

Daishi - 46

dnrothwell - 27

smilepak - 25

Nachhall-Texter - 19

pointysticks - 18

Administrator: Michael Oeser | Moderators: Michael Oeser, Daishi


© Simple:Press Forum - Version 3.1.3 (Build 356)  


Readers voices

  • Michael Oeser: @George: auch dafür gibt´s das beliebte Support Forum. Also wäre ich...
  • Hans: Also ich bevorzuge Bwin Poker, spiele auch dort regelmäßig die Sit-and-Go...
  • Michael Oeser: Mir unverständlich…bei mir gehts
  • George: Using another language ====================== To use e.g. the German...
  • Daishi: Ich hab es übrigens schon mitbekommen Michael :D Ich werde auch wieder...

Featured

    Get WyntonMagazine WordPress magazine style theme

  • WyntonMagazine WordPress theme
  • Get BranfordMagazine WordPress magazine style theme

  • BanfordMagazine WordPress theme
  • Get the e-book "Sites that Soar" - New version out now More info

  • Get the e-book 'Sites that Soar'

Tipps


Bad Behavior has blocked 21827 access attempts in the last 7 days.