Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter os0wski

    (@os0wski)

    yes, i uploaded all files again (the newest ones) and it resolved the problem.

    Thread Starter os0wski

    (@os0wski)

    i didnt change anything! it looks a bit like it was hacked or something, look at https://www.rap-trojmiasto.pl

    another strange thing is that the site works without www but admin panel doesnt

    anyone can help???

    Thread Starter os0wski

    (@os0wski)

    ok i just forgot to put <?php get_header(); ?> and
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    in the end..

    It works! Thanks!

    Thread Starter os0wski

    (@os0wski)

    hmm ive created a page template but now it opens the page without my mimbo theme, just what i put into the my pagetemplate.php.. This is how my code looks, and what i want to put there:

    <div id="content">
    
      <div class="feature clearfloat" id="lead">
    
       <?php
    // this is where the Lead Story module begins
       query_posts('p=164'); ?>
        <?php while (have_posts()) : the_post(); ?>
        <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/<?php
    // this is where the Lead Story image gets printed
    	$values = get_post_custom_values("Image"); echo $values[0]; ?>" alt="" id="leadpic" /></a>
        <h3>
    	<?php
    	// this is where the name of the Lead Story category gets printed
    	wp_list_categories('include=3&title_li=&style=none'); ?></h3>
        <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>" class="title">
        <?php
    // this is where the title of the Lead Story gets printed
    	the_title(); ?>
        </a>
        <?php
    // this is where the excerpt of the Lead Story gets printed
    	the_excerpt(); ?>
        {<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">More&raquo;</a>}
        <?php endwhile; ?>
      </div><!--END FEATURE-->
    
      <div id="leftcol">
        <?php
    // this is where the Features module begins
    	query_posts('showposts=10&cat=67,3'); ?>
        <h3>Newsy & Video</h3>
        <?php while (have_posts()) : the_post(); ?>
        <div ><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/<?php
    // this is where the custom field prints images for each Feature
    	$values = get_post_custom_values("Image"); echo $values[0]; ?>" alt="" /></a><a href="<?php the_permalink() ?>" rel="bookmark" class="title">
          <?php
    // this is where title of the Feature gets printed
    	  the_title(); ?>&raquo;</a></div>
        <?php endwhile; ?>
    		<br /><br />
    <p align="CENTER"><a href="https://nbds.pl" target="_BLANK"><img width="190" height="60" src="https://rap-trojmiasto.pl/buttons/nbds.jpg" title="New Boogie Down School"></a><br />
    <a href="https://dodrecordz.pl" target="_BLANK"><img width="190" height="60" src="https://rap-trojmiasto.pl/buttons/dod.jpg" title="DOD Recordz"></a><br />
    <a href="https://decybelprod.com" target="_BLANK"><img width="190" height="60" src="https://rap-trojmiasto.pl/buttons/decybel.jpg" title="DecybelProd"></a><br />
    <a href="https://sumastyli.org" target="_BLANK"><img width="190" height="60" src="https://rap-trojmiasto.pl/buttons/sumastyli.jpg" title="Sumastyli.org"></a></p>
    </div>
    <!--END LEFTCOL-->
    
      <div id="rightcol">
        <?php
    // this is where you enter the IDs of which categories you want to display
    $display_categories = array(7,5,6);
    foreach ($display_categories as $category) { ?>
        <div class="clearfloat">
          <?php query_posts("showposts=1&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
    	// this is where the 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("Image");
    // this checks to see if an image file exists
    	if (isset($values[0])) {
    ?>
          <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/<?php $values = get_post_custom_values("Image"); 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(); ?>&raquo;</a>
          <?php the_excerpt(); ?>
          <?php endwhile; ?>
        </div>
        <?php } ?>
      </div><!--END RIGHTCOL-->
    </div><!--END CONTENT-->

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)