• I have used wordpress many times before, so I know how to use it. I have installed a theme that doesn’t show the pages in the top navigation bar right.

    I have deleted all normal pages, and made ONE page, which is called ‘The Pupils’ Committee’. The page doesn’t show up anywhere, and there are just those 3 standers pages, I can’t find anywhere :S

    The blog is here:
    https://eccentric.wtf.la
    Theme is called PressRow and can be downloaded here: https://www.findcreditcards.org/pressrow/

    I know I can delete the pages in the navigation bar by editing the header.php, but it’s not how wordpress is suppose to work! I’m the webmaster, and not the one who creates the posts and pages, so I can’t edit the file(s) each time he wants to add something.

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter peterspliid

    (@peterspliid)

    ok I’ve change it, but it doesn’t work.

    ‘latest news’ is filled doesn’t matter what page you’re on.

    Maybe I’ve done something wrong?

    header.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml">
    
    <head profile="https://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php wp_head(); ?>
    </head>
    <body>
    
    <div id="container">
    
    	<div id="page" class="blog">
    
    			<div id="header">
    			<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    <div id="nav">
    <ul>
    <li><a class="blog" href="<?php bloginfo('url'); ?>">Latest News</a></li>
    <?php wp_list_pages('title_li='); ?>
    </ul>
    </div>
    			<div id="pic"></div>
    		</div>
    		</div>

    stylesheet.css

    /*
    Theme Name:		PressRow
    Theme URI:		https://www.findcreditcards.org/pressrow/
    Description:	An awesome theme developed for <a href="https://www.findcreditcards.org/">FindCreditCards</a> by the digitally-famous <a href="https://www.pearsonified.com/">Chris Pearson</a>.
    Version:		0.1
    Author:			Chris Pearson
    Author URI:		https://www.pearsonified.com/
    */

    [Moderated: Too much code. Please consider placing the code in a text file on your site with a link here -or- use a pastebin service such as https://wordpress.pastebin.ca. Thanks!]

    oops there was an error in my code, it should be

    #nav li a:hover, #nav li.current_page_item a { … }

    The class current_page_item is assoziated to the li-tag not the a ..

    Your latest news is black because in the line below you gave the class
    .blog #nav li a.blog the background color #222. If you remove this first entry in the row it shouldn’t be black by default anymore .. did you change this recently?

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Question/Problem with a theme’ is closed to new replies.