go41

Re: Ooops! Joern one small problem with FCG div :: Reply by Joern

von Joern am 31. Mai. 2010 | Keine Kommentare

just now it shows:

The headline title

my FCG

and then the headline excerpt
there is however a problem with your div class="meta"

it shows in source code like:

<div class="meta"></div>[18 May 2010 |….

means it’s closing before the date and comments, don’t know why
To exclude one post from a loop you should ‚continue‘ the loop if this post-ID occurs
in a standard loop like this:
<?php if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == ‚222‘ ) continue; ?>
reads: the loop will repeat as normal and just jump the post with the ID of 222
in Arthemia in the frontlist (lower part) the original code looks like this:

<?php while (have_posts()) : the_post(); ?>
modified to jump post ID 123 it should look like this

<?php while (have_posts()) : the_post(); if( $post->ID == ‚123‘ ) continue; ?>
It might display one post less than before
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 5 weitere Ergebnisse dieses Threads:

Ooops! Joern one small problem with FCG div

31. Mai. 2010 (von: omerkhan01)

Hey Joern, Thanks for the great tip about renaming featured o to arthfeatured. That allowed the fCG to float to the left. Anyways as you can see it is now covering the headline thumb and excerpt and below it appeared…

Re: Ooops! Joern one small problem with FCG div :: Reply by Joern

31. Mai. 2010 (von: Joern)

your headline image is not in div 'headline' anymore...check the source code of your site, you put the gallery in front of<?php the_title(); ?>it seems for me.When I said put it in front of the title I didn't mean into…

Re: Ooops! Joern one small problem with FCG div :: Reply by omerkhan01

31. Mai. 2010 (von: omerkhan01)

jOERN, My headline image/text disappear and one of my featured posts takes place of it in the headline div region.Look hereHere is my index.php code including the FCG insertion code<?php get_header(); ?> <?php if(!is_paged()) { ?> <div id="top" class="clearfloat"> <div…

Re: Ooops! Joern one small problem with FCG div :: Reply by omerkhan01

31. Mai. 2010 (von: omerkhan01)

Joern, The title is showing up for the headline post, followed by the FCG, but below it should be my headline excerpt and it's image. It is not showing up.Instead the headline excerpt/image is being replaced by a featured image…

Re: Ooops! Joern one small problem with FCG div :: Reply by omerkhan01

31. Mai. 2010 (von: omerkhan01)

I figured it out. Here is what I did. The FCG works on you gong into the settings and setting what posts to display. So I saw that post 452 was the post ID of the real estate post that…

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: