go41

Re: Category page with no posts distorted + some more help :: Reply by master

von Joern am 5. Apr. 2010 | Keine Kommentare

Issue no1

missaligned footer on empty category is a problem with a missing line in archive.php.

Solution:

find in archive.php close to the end:

Code:

<?php else : ?>

   <h2 class="title">No posts found. Try a different search?</h2>

   <?php endif; ?>

and add before endif line <div id="archive"> to look like this:

Code:

<?php else : ?>

   <h2 class="title">No posts found. Try a different search?</h2>
   <div id="archive">
   <?php endif; ?>

This is a theme problem you get only on empty categories, no post in…
Issue no2

do you want to remove the ‚image‘ showing Headline and Featured? Edit the files featured.png and headline.png to show whatever you like.
Issue no3 (edited below, got you wrong…)

now you have by default one row with 5 columns, you want two rows with 6 columns each?
to get two rows with 5 columns each just fill in 5 category IDs more in index.php in this line:

<?php $display_categories = array(5,6,7,8,11); $i = 1;
to look like this:

<?php $display_categories = array(5,6,7,8,11,20,21,22,25,28); $i = 1;
where the numbers (ID) should be existing category IDs!!
To get more categories in one row you have to edit style.css, this works well as you can see here in Cantel’s site:

http://www.beautybuzzhk.com/
Finally I got what you mean, the drop down in navigation bar.
I guess you use wp_list_categories to display this dropdown? So just add the include parameter like this:

wp_list_categories(‚include=2,5,7,9…

and put a second call wp_list_categories to include the remainig

wp_list_categories(‚include=11,15,16,17…
or, even better, exclude the categories you included first, as the second call will show all remaining categories
Did it help?
____________________
you find me on Google+, Twitter and Facebook

(von: master)

Hier noch 3 weitere Ergebnisse dieses Threads:

Category page with no posts distorted + some more help

5. Apr. 2010 (von: qtest)

Hi, my name is zafar. http://coolrhythm.co.in/ (test server)I have few issues. Kindly help.1) If the category has atleast 1 post, everything seems fine. But if I go to any category page without any post, the structure breaks. http://coolrhythm.co.in/?... Weiterlesen →

Re: Category page with no posts distorted + some more help :: Reply by qtest

5. Apr. 2010 (von: qtest)

The solution for issue 1 worked like charm. Thanks a lot.Issue 2I don't intend to remove the .png images. Typical stories with excerpts appear as belowOil and Gas, Featured >>Story titleExcerpt.............Read MoreYou can click on News in the main menu…

Re: Category page with no posts distorted + some more help :: Reply by master

5. Apr. 2010 (von: master)

Issue 2 is quite difficult, no exclude parameter, read more here:http://www.technokinetics.com/exclude-c ... _category/Issue 3 the wp-cumulus thing I mentioned already here:viewtopic.php?f=1&t=25It's about transparency of the swf mode______________... Weiterlesen →

Autor:

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

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: