Support Forum

ACHTUNG: Momentan ist das Forum aus Zeitgründen auf reinen Lesemodus geschaltet. Es können keine Einträge vorgenommen werden. Bitte schickt keine Supportanfragen per eMail.
ATTENTION: Due to a massive lack of time the forums are currently in read-only modus. Please avoid sending support-questions via email.

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.

Welcome to the support forums. Please use this forums for any type of questions, bug-reports or any other related stuff concerning my themes. To avoid spam you have to be registered to post in this forum.


Bevor Ihr im Forum postet, schaut nach, ob eure Frage nich schon einmal beantwortet wurde. 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.

Please make sure your question hasn´t been postet before. I will not answer questions on basic WordPress functionalities because there are general WordPress forums and the amazing WordPress Codex which do this job better. Check out the tutorials. Most of the questions will be answered here. For unexperienced WordPress useres I reccomend to purchase the e-book “Sites that Soar” by Aisling d´Art. This book shows a step-by-step how-to build up a website using WordPress and BranfordMagazinne.

This e-book is highly recommended for new WordPress users
who want to use BranfordMagazine:

Get the e-book 'Sites that Soar'



Ich stehe für individuelle Programmierarbeiten, oder Themeanpassungen zur Verfügung. Bei Interesse schickt mir einfach eine eMail an support[at]der-prinz.com. Bitte lest zuerst die “Forumsregeln” bevor Ihr postet.

I am available for freelance programming or theme customization. If you are interested just drop me an email at support[at]der-prinz.com. Please read the “forum rules” before you post.



This forum is currently locked - access is read only
You must be logged in to post Login

Search 
Search Forums:


 




right column customization

UserPost

13:56
6. Juli 2008


Michael Oeser

Admin

posts 630

1

I assume this should help to get what you want:

First you edit #rightcol p (which is the paragraph in #rightcol) in style.css

.feature p, #rightcol p { margin:0; }

and change it to something like this

#rightcol p {
margin-top:7px;
padding-bottom:4px;
border-bottom:1px solid #999;
}

Then you remove the line below #rightcol .clearfloat, by changing this…

#rightcol .clearfloat {
border-bottom:1px solid #999;
padding:12px 0;

}

…into this

#rightcol .clearfloat {
border-bottom:none;
padding:12px 0;
}

In index.php you just have to define the ID of the categories (e.g 3, 4, 5) and the number of articles (e.g. 2)

<div id=”rightcol”>
<?php
// enter the IDs of which categories you want to display
$display_categories = array(3,4,5);
foreach ($display_categories as $category) { ?>
<div class=”clearfloat”>
<?php query_posts(”showposts=2&cat=$category”);
$wp_query->is_category = false;
$wp_query->is_archive = false;
$wp_query->is_home = true;
?>

let me know if it works for you

04:46
4. Juli 2008


somechick

New Member

posts 1

2

I have searched and googled, and everything else I can think of. What I'm trying to do is have more then one post in each category under the right column but the images and text are overlapping. For example, I post the first category with image just fine. I changed the settings to have a second posted as well. But the second doesn't align below the first. I'm assuming it can be done because the left column (featured articles) is able to do so. How would I go about doing this?

I'd post my url but it's locked at the moment. I have the current version of wordpress as well as the theme. Thanks!

This is the coding that I am currently using.

<div id=”rightcol”>
<?php
// enter the IDs of which categories you want to display
$display_categories = array(52,56);
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 } ?>
</div>
<!–END RIGHTCOL–>



Reply to Topic: right column customization
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: 9 + 12        (Required)

Topic Reply:


 

About the DER PRiNZ forum

Currently Online:

5 Guests

Maximum Online: 25

Forums:

Groups: 4

Forums: 9

Topics: 467

Posts: 1869

Members:

There are 187 members

There are 240 guests


Michael Oeser has made 630 posts

Top Posters:

Daishi - 45

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

  • Deine Mutter Sprüche: Klasse Artikel, die ganze Finanzwelt dreht doch komplett am...
  • bodybuilding: aufgrund dieser anleitung hab ich die featured artikel verstanden. dort...
  • bodybuilding: das ist ja mal ein super teil. bin gerade dabei anhand der anleitungen...
  • Renegado: hermosa plantilla, muy sobria y elegante, gracias. Sera una experiencia muy...
  • anne: Is there a way to make the list on the side look nested? something like this - ?...

Featured

    Get my brandnew theme WyntonMagazine - Ready for localization. Additional features.

  • WyntonMagazine WordPress theme
  • Get my theme BranfordMagazine - English, German and other languages available.

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

  • Get the e-book 'Sites that Soar'

Spenden / Donate

    Falls Ihnen meine Arbeit etwas Geld wert ist. / If you feel my work is worth a little money.


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