Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter thesteelydane

    (@thesteelydane)

    Thanks guys, my wp install should now be locked down! Appreciate all the help!

    Thread Starter thesteelydane

    (@thesteelydane)

    Ooooohhhhh….just figured it out. They had put and index.http file in the root, right next to the index.php file. Deleted and it and everything seems back to normal. Could they have done more. And can I do more than to change my wordpress admin password?

    Thread Starter thesteelydane

    (@thesteelydane)

    I tried to change theme, and the problem persisted, complete with trojan warning from my browser. It is strangely enough only on the first(home) page (regardless of theme). If I go directly to the permalink of a post, it displays correctly!

    Thread Starter thesteelydane

    (@thesteelydane)

    No, they didn’t change my pass. I can access my admin page as well as my database from within cpanel and all my stuff is still there. It’s just the front page that displays their propaganda, and my browser warns me that there is a trojan om the site.

    Thread Starter thesteelydane

    (@thesteelydane)

    Hey Mac, thanks for your reply. Yes to number 1, no to number 2

    Thread Starter thesteelydane

    (@thesteelydane)

    Excellent, thank you! I searched high and low in the codex but couldn’t find the page that found for me…maybe my search skills need brushing up.

    Nicolaj

    Thread Starter thesteelydane

    (@thesteelydane)

    That sounds really strange…are you sure you are looking in the right place? It’s under “settings” –> “reading” –> “Front page displays” . Make sure you have at least 2 pages so you can set one to be your static front page and the other your blog.

    Forum: Plugins
    In reply to: Page categories and tags
    Thread Starter thesteelydane

    (@thesteelydane)

    YES!! Exactly what I needed. Too bad it is no longer being developed, hope someone picks this up. For now, it does exactly what I need it to do! Thank you for your help!

    Forum: Plugins
    In reply to: Page categories and tags
    Thread Starter thesteelydane

    (@thesteelydane)

    That’s the one I was following actually, but given that I’ve never written a line of code, it is perhaps not surprising that I’m running into trouble. However, having read more about the plugin, I realise it’s not really what I am looking for. I simply want to assign one of my categories to some of my pages, so that when a visitor clicks on a given category, pages assigned to this category shows up alongside posts in that category.

    Forum: Plugins
    In reply to: Page categories and tags
    Thread Starter thesteelydane

    (@thesteelydane)

    Thank you very much! I got the tags4page plugin to work without problems, I am however having problems with page2cat. I edited the archive.php but with the theme I use it looks a lot different than the default:

    <?php get_header(); rewind_posts(); ?>
    <div class="span-<?php
    		$sidebar_state = get_option('T_sidebar_state');
    
    		if($sidebar_state == "On") {
    			echo "15 colborder home";
    		}
    		else {
    			echo "24 last";
    		}
    		?>">
    
    		<?php
    		query_posts($query_string.'&posts_per_page=24');
    		if (have_posts()) : ?>
    
     	  <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
     	  <?php /* If this is a category archive */ if (is_category()) { ?>
    		<h3 class="sub"><?php single_cat_title(); ?></h3>
     	  <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
    		<h3 class="sub">Posts Tagged ‘<?php single_tag_title(); ?>’</h3>
     	  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    		<h3 class="sub">Archive for <?php the_time('F jS, Y'); ?></h3>
     	  <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    		<h3 class="sub">Archive for <?php the_time('F, Y'); ?></h3>
     	  <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    		<h3 class="sub">Archive for <?php the_time('Y'); ?></h3>
    	  <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    		<h3 class="sub">Author Archive</h3>
     	  <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    		<h3 class="sub">Blog Archives</h3>
     	  <?php } ?>
    <div class="clear"></div>
    <div class="content">
    <?php while (have_posts()) : the_post(); ?>
    <div class="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title() ?></a></h2>
    <?php include (THEMELIB . '/apps/multimedia.php'); ?>
    <?php the_content(); ?>
    <div class="clear"></div>
    <p class="postmetadata"><?php the_time('M d, Y') ?> | <?php the_category(', ') ?> | <?php comments_popup_link('Leave A Comment »', '1 Comment »', '% Comments »'); ?> <?php edit_post_link('Edit', '| ', ''); ?> </p>
    </div>
    <hr />
    <?php endwhile; ?>
    
    <div class="clear"></div>
    
    <div class="nav-interior">
    			<div class="prev"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="next"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    		</div>
    <div class="clear"></div>
    
    	<?php else : ?>
    
    		<h2 class="center">Not Found</h2>
    		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    
    	<?php endif; ?>
    </div>
    		</div>
    <?php
    		$sidebar_state = get_option('T_sidebar_state');
    
    		if($sidebar_state == "On") {
    			get_sidebar() ;
    		}
    		else {
    			echo "";
    		}
    		?>
    
    <!-- Begin Footer -->
    <?php get_footer(); ?>

    Where would I put the hack? I got it to work somewhat by fiddling around with the single_cat line but then headline built into the theme disappeared. Can anyone tell me what to do?

    Forum: Fixing WordPress
    In reply to: Dual langauge site
    Thread Starter thesteelydane

    (@thesteelydane)

    Thanks man, I’ll look around. What I’m looking for is sort of a front page that will give the visitor a choice between a Danish and an English version. Other than the text, I want the 2 versions to look exactly the same….

    Thread Starter thesteelydane

    (@thesteelydane)

    Oohhh, I am stupid. You were right, the reason I didn’t have a blog page was that I hadn’t created it yet.

    All is well now!

    Thread Starter thesteelydane

    (@thesteelydane)

    Thank you for your reply. That’s exactly what I did, and I now have it set to a static front page (a sort of about/welcome page). What I would like is to also have a “blog” page. Right now the only way you can get to my blog is click on a specific category.

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