MadsK
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Tiles] WP Tiles 1.0 add custom classes or ids to specific tiles and moreHello Mike
Thank you for your response.
The Tiles do not respect the height of their parent container even with position relative. It seems to keep creating its own height, which is a big problem.
And also I would like to know if it is possible to give the grids an ID.
It would be nice if you could actually add an ID to a grid in the grid editor so that A B and C had an GridA and GridB and GridC ID so they where easier to style.Forum: Plugins
In reply to: [WP Tiles] WP Tiles 1.0 add custom classes or ids to specific tiles and moreI just tried adding ‘posts_per_page’=>3 to the array and that solved 1 problem. I now only get the 3 latest news.
Now I just need to know if there is a better way to style my way out of the inline styling and if I can give a specific ID to Grid A, B and C.
Forum: Everything else WordPress
In reply to: Search like this?I know the search function is there its not really that.
I want them to be able to search in categories etc. but instead of a dropdown i want to have text above the search which lets the user pick which category (Ex. All, News, Videos etc.)
Forum: Fixing WordPress
In reply to: extra slash after leaving comment causes 404Forum: Fixing WordPress
In reply to: extra slash after leaving comment causes 404Have you remembered to recode your comments.php for WordPress 2.7?
Forum: Fixing WordPress
In reply to: Sidebar not widget-enabled…NEED HELP!!Did you copy / paste the code above? If so i can see that the ′′ around dynamic sidebar are wrong. you need to change them to the appropriate ones ”. Sorry for that.
Forum: Fixing WordPress
In reply to: Sidebar not widget-enabled…NEED HELP!!If you have a functions.php file within your theme add this line
<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar();
?>if you don’t have it. Create the file and add the code above.
Then replace the above code with this:
<div id="sidebar"> <ul> <?php if ( function_exists(’dynamic_sidebar’) && dynamic_sidebar() ) : else : ?> </ul> <ul> <?php get_links_list(); ?> </ul> <ul> <?php wp_list_pages('sort_column=menu_order&title_li=<h2>' . __('Pages') . '</h2>' ); ?> </ul> </div>
Forum: Fixing WordPress
In reply to: How to display different sidebars on each page ?Well i can show you my functions.php – i’m only using numbers as i find it easier. If you want it to be a little better organised you could just comment what each sidebar belongs too.
<?php if ( function_exists('register_sidebar') ) register_sidebars(4); ?>
Change the 4 to the number of sidebars you are going to use. Then you can call them with the code above:
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(3) ) : else : ?> <?php endif; ?>
Again change the number to the one you want to use.
About the style – wrap the above code within an ul
<ul id=”sidebarwhatever”>
code above
< /ul>
Now style the sidebar (ul#sidebarwhatever) and each sidebar will use this style so they will look the same. I hope this helps ??Forum: Fixing WordPress
In reply to: Image Upload ProblemI’m glad you got it worked out ??
Forum: Themes and Templates
In reply to: Create an archive by category sorted by dateYou can add this ??
orderby=date
// Get the last 10 posts in the special_cat category.
<?php query_posts(‘category_name=special_cat&showposts=10&orderby=date’); ?><?php while (have_posts()) : the_post(); ?>
<!– Do special_cat stuff… –>
<?php endwhile;?>Forum: Fixing WordPress
In reply to: Dropdown Posts ListWell the code i gave you above should list all categories you have. But given that the uncategorised category is there in default you might have to delete it and create your own uncategorised category.
Forum: Fixing WordPress
In reply to: Dropdown Posts ListNo problem. Glad you could use it ??
Forum: Fixing WordPress
In reply to: How to get navigation workiing on top?You could try to replace the ul you have now with this
<ul id=”navbar”>
<?php wp_list_pages(‘title_li=’); ?>
< / ul>CSS should look like
ul#navbar {
float: left;
}ul#navbar li {
float: left;
}Forum: Fixing WordPress
In reply to: Dropdown Posts ListEdit:
You should use hide_empty=0
<?php wp_dropdown_categories(‘show_option_none=Select a Category&show_count=1&hide_empty=0’); ?>
Forum: Fixing WordPress
In reply to: posts doesn′t apear in first pageWhat does your index.php file look like in your themes folder?