mrsyfa
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Remove black navigation bar at top of themeWorked perfectly! Thanks so much jrav001.
Forum: Fixing WordPress
In reply to: parenthesis showing above headerSite is Yawdfromabroad.com
Forum: Fixing WordPress
In reply to: Ajax viewer screwing up in IEWell, I guess like most other ajax/slideshow questions here in the forums…nothing but crickets…LOL!
Forum: Fixing WordPress
In reply to: Getting themes.php error in dashboardWhooami,
I’m suddenly able to access everything now….maybe it was a server issue. Never-the-less, thank you for your help and quick response.Forum: Fixing WordPress
In reply to: Getting themes.php error in dashboardI broke the index.php file in the theme yfa.com, it has this in it:
<?php get_header(); ?>
<?php
/*
This version of the front page template
provides the latest post in the Feature category
for the Main Feature section.
*/
// Feature category query — displayed later in template
$feature_cat = 1; // set to the Feature category ID #
$main_query = new WP_Query(“showposts=1&cat=$feature_cat”);
$categories = wp_get_object_terms($post->ID, ‘category’);
foreach( $categories as $category ) {
if ( $category->term_id != $feature_cat ) {
$cat_offset = $category->term_id;
break;
}
}
?>
<!–BEGIN FEATURE–>
<div class=”column span-15 colborder”>
<script type=”text/javascript”>
function startGallery() {
var myGallery = new gallery($(‘myGallery’), {
timed: true,
showArrows: false,
showInfopane: true,
showCarousel: false
});
}
window.addEvent(‘domready’, startGallery);
</script>
<div id=”myGallery”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”imageElement”>
” title=”Permanent Link to <?php the_title(); ?>” class=”open”> <img src=”<?php $key=”photo”; echo get_post_meta($post->ID, $key, true); ?>” class=”full” alt=”<?php the_title(); ?>” /><img src=”<?php $key=”small_photo”; echo get_post_meta($post->ID, $key, true); ?>” class=”thumbnail” alt=”<?php the_title(); ?>” />
<h3>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”title”><?php the_title(); ?></h3>
<?php the_excerpt(); ?>
</div>
<?php endwhile; else: ?>
<p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
<?php endif; ?>
</div>
<hr class=”space” />
</div>
<!–END FEATURE–>
<!– BEGIN TABBED NAVIGATION –>
<div class=”column span-8 last”>
<div id=”sidebar-home”>
<div class=”menu tabbed”>
<ul class=”tabs”>
<li class=”t1″>“><?php _e(‘Latest’); ?>
<li class=”t2″>“><?php _e(‘Popular’); ?>
<li class=”t3″>“><?php _e(‘Departments’); ?>
<li class=”t4″>“><?php _e(‘Contributors’); ?><!– LATEST HEADLINES –>
<div class=”t1″>
<?php rewind_posts(); ?>
<ul class=”latest”>
<?php $posts = get_posts(‘numberposts=9&offset=0’); foreach ($posts as $post): setup_postdata($post); ?>- ” title=”<?php the_title(); ?>”><?php the_title(); ?>
- ” title=”<?php echo $title ?>”><?php echo $title ?>
<?php endforeach; ?>
</div>
<!– POPULAR (MOST COMMENTED POSTS) –>
<div class=”t2″>
<ul class=”popular”>
<?php $result = $wpdb->get_results(“SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 9”);
foreach ($result as $topten) {
$postid = $topten->ID;
$title = $topten->post_title;
$commentcount = $topten->comment_count;
if ($commentcount != 0) { ?><?php } } ?>
</div>
<!– SECTIONS (CATEGORIES) –>
<div class=”t3″>
<ul class=”categories”>
<?php wp_list_categories(‘sort_column=name&optioncount=1&hierarchical=0&feed=RSS&offset=5&title_li=’); ?></div>
<!– CONTRIBUTORS –>
<div class=”t4″>
<ul class=”authors”>
<?php wp_list_authors(‘exclude_admin=0&hide_empty=0&limit=9’); ?></div>
</div><!– tabbed –>
</div>
</div>
<!– END TABBED NAVIGATION –>
<!–BEGIN THREE–>
<hr />
<div class=”column span-7 colborder”>
<div class=”entry”>
<h6>» <?php wp_list_categories(‘include=12&title_li=&style=none’); ?></h6>
<hr />
<?php
$offset = 0;
if ( 12 == $cat_offset ) {
$offset = 1;
}
query_posts(“showposts=1&cat=12&offset=$offset”);
?>
<?php while (have_posts()) : the_post(); ?>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php $key=”thumbnail”; echo get_post_meta($post->ID, $key, true); ?>” alt=”” />
<h5>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”title”><?php the_title(); ?></h5>
<?php the_excerpt(); ?>
<p class=”small”><?php the_time(‘F jS, Y’) ?> | ” title=”<?php the_title(); ?>”>Read | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
<?php endwhile; ?>
</div>
</div>
<div class=”column span-7 colborder”>
<div class=”entry”>
<h6>» <?php wp_list_categories(‘include=11&title_li=&style=none’); ?></h6>
<hr />
<?php
$offset = 0;
if ( 11 == $cat_offset ) {
$offset = 1;
}
query_posts(“showposts=1&cat=11&offset=$offset”);
?>
<?php while (have_posts()) : the_post(); ?>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php $key=”thumbnail”; echo get_post_meta($post->ID, $key, true); ?>” alt=”” />
<h5>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”title”><?php the_title(); ?></h5>
<?php the_excerpt(); ?>
<p class=”small”><?php the_time(‘F jS, Y’) ?> | ” title=”<?php the_title(); ?>”>Read | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
<?php endwhile; ?>
</div>
</div>
<div class=”column span-7 last”>
<div class=”entry”>
<h6>» <?php wp_list_categories(‘include=4&title_li=&style=none’); ?></h6>
<hr />
<?php
$offset = 0;
if ( 4 == $cat_offset ) {
$offset = 1;
}
query_posts(“showposts=1&cat=4&offset=$offset”);
?>
<?php while (have_posts()) : the_post(); ?>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php $key=”thumbnail”; echo get_post_meta($post->ID, $key, true); ?>” alt=”” />
<h5>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”title”><?php the_title(); ?></h5>
<?php the_excerpt(); ?>
<p class=”small”><?php the_time(‘F jS, Y’) ?> | ” title=”<?php the_title(); ?>”>Read | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
<?php endwhile; ?>
</div>
</div>
<hr />
<!–END THREE–>
<!–BEGIN FIVE–>
<div class=”column span-4 colborder”>
<div class=”entry”>
<h6>» <?php wp_list_categories(‘include=3&title_li=&style=none’); ?></h6>
<hr />
<?php
$offset = 0;
if ( 3 == $cat_offset ) {
$offset = 1;
}
query_posts(“showposts=1&cat=3&offset=$offset”);
?>
<?php while (have_posts()) : the_post(); ?>
<h6>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”title”><?php the_title(); ?></h6>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php $key=”square”; echo get_post_meta($post->ID, $key, true); ?>” alt=”” />
<div class=”excerpt_small”><?php the_excerpt(); ?></div>
<hr class=”space” />
<p class=”small”>” title=”<?php the_title(); ?>”>Read | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
<?php endwhile; ?>
</div>
</div>
<div class=”column span-4 colborder”>
<div class=”entry”>
<h6>» <?php wp_list_categories(‘include=6&title_li=&style=none’); ?></h6>
<hr />
<?php
$offset = 0;
if ( 6 == $cat_offset ) {
$offset = 1;
}
query_posts(“showposts=1&cat=6&offset=$offset”);
?>
<?php while (have_posts()) : the_post(); ?>
<h6>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”title”><?php the_title(); ?></h6>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php $key=”square”; echo get_post_meta($post->ID, $key, true); ?>” alt=”” />
<div class=”excerpt_small”><?php the_excerpt(); ?></div>
<hr class=”space” />
<p class=”small”>” title=”<?php the_title(); ?>”>Read | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
<?php endwhile; ?>
</div>
</div>
<div class=”column span-4 colborder”>
<div class=”entry”>
<h6>» <?php wp_list_categories(‘include=5&title_li=&style=none’); ?></h6>
<hr />
<?php
$offset = 0;
if ( 5 == $cat_offset ) {
$offset = 1;
}
query_posts(“showposts=1&cat=5&offset=$offset”);
?>
<?php while (have_posts()) : the_post(); ?>
<h6>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”title”><?php the_title(); ?></h6>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php $key=”square”; echo get_post_meta($post->ID, $key, true); ?>” alt=”” />
<div class=”excerpt_small”><?php the_excerpt(); ?></div>
<hr class=”space” />
<p class=”small”>” title=”<?php the_title(); ?>”>Read | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
<?php endwhile; ?>
</div>
</div>
<div class=”column span-4 colborder”>
<div class=”entry”>
<h6>» <?php wp_list_categories(‘include=12&title_li=&style=none’); ?></h6>
<hr />
<?php
$offset = 0;
if ( 12 == $cat_offset ) {
$offset = 1;
}
query_posts(“showposts=1&cat=12&offset=$offset”);
?>
<?php while (have_posts()) : the_post(); ?>
<h6>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”title”><?php the_title(); ?></h6>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php $key=”square”; echo get_post_meta($post->ID, $key, true); ?>” alt=”” />
<div class=”excerpt_small”><?php the_excerpt(); ?></div>
<hr class=”space” />
<p class=”small”>” title=”<?php the_title(); ?>”>Read | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
<?php endwhile; ?>
</div>
</div>
<div class=”column span-4 last”>
<div class=”entry”>
<h6>» <?php wp_list_categories(‘include=11&title_li=&style=none’); ?></h6>
<hr />
<?php
$offset = 0;
if ( 11 == $cat_offset ) {
$offset = 1;
}
query_posts(“showposts=1&cat=11&offset=$offset”);
?>
<?php while (have_posts()) : the_post(); ?>
<h6>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”title”><?php the_title(); ?></h6>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php $key=”square”; echo get_post_meta($post->ID, $key, true); ?>” alt=”” />
<div class=”excerpt_small”><?php the_excerpt(); ?></div>
<hr class=”space” />
<p class=”small”>” title=”<?php the_title(); ?>”>Read | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
<?php endwhile; ?>
</div>
</div>
<div class=”clearfloat”></div>
<!–END FIVE–>
<?php get_sidebar(); ?>
<?php get_footer(); ?>Forum: Fixing WordPress
In reply to: Getting themes.php error in dashboardThe dashboard looks normal, (except the incoming links and stats are missing), but once I click any option on the dashboard, it just gets stuck.
Forum: Fixing WordPress
In reply to: Getting themes.php error in dashboardthe re-load did not work, I still can not access anything on the admiin panel once I log-in. The clean un-edited index.php file is not fixing the issue, and unfortunately I did hit save.
Forum: Fixing WordPress
In reply to: My sidebars are under my posts! Please, please help!Where should I be fixing the validation errors, right now I’m going into the Manage Posts area and just looking at my post (not using visual rich editor) but I’m not seeing the same errors as the validator is.
I really do appreciate all the help, I don’t want to abuse the forums so I will be doing my best to learn these things on my own in the future. It’s just a little daunting right now.
Forum: Fixing WordPress
In reply to: My sidebars are under my posts! Please, please help!Mahtab,
Thanks so much I will send this info to you in just a few minutes. I really would just like to know what I’m doing wrong so I can stop doing it in the future and judging by validator, I’m doing a whole lot of wrong things in my posts.:)Forum: Fixing WordPress
In reply to: My sidebars are under my posts! Please, please help!I am attempting to fix those issues but don’t know how to fix all of them (I’ve been on WP for less than 2 months) and some of them are not showing up the same way on my WP pages as they are on validator, but I am trying to.
Forum: Fixing WordPress
In reply to: My sidebars are under my posts! Please, please help!I reduced the width from 910 to 890:
#content {
width: 890px;
margin: 0px auto 0px;
padding: 10px 0 0 0;
}but the sidebars are still falling.:(
Forum: Fixing WordPress
In reply to: My sidebars are under my posts! Please, please help!I’m reading other posts regarding the issue and deleting images and Youtube videos that might be causing the issue but still looking for the error causing issue.
Forum: Fixing WordPress
In reply to: My sidebars are under my posts! Please, please help!Forum: Themes and Templates
In reply to: My site looks a mess in any version of IE. HELP!I’m not sure how to fix most of these issues but am attempting to fix the ones I can but I’m wondering if these are the source of the problem as I just had this issue appear yesterday?
Forum: Fixing WordPress
In reply to: Hyphen/dash appearing before site name on browser tabs???LOL! OK, I used to watch the Fraggles so I should know that…I checked out your site Just A Stupid Girl.com. I’ll be coming back. Once again, thanks so much. I really appreciate it!