etchartists
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: change navigation bar text?Hi Alan,
Thanks for your help. I think you identified the correct code but it didn’t actually work, I have got it working now though, so thanks a lot. Resolved!
Best
TheoForum: Fixing WordPress
In reply to: change navigation bar text?Thanks for the reply, here it is:
<!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” <?php language_attributes(); ?>><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() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<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’); ?>” /><style type=”text/css” media=”screen”>
<?php
// Checks to see whether it needs a sidebar or not
if ( !empty($withcomments) && !is_single() ) {
?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg-<?php bloginfo(‘text_direction’); ?>.jpg”) repeat-y top; border: none; }
<?php } else { // No sidebar ?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
<?php } ?></style>
<?php wp_head(); ?>
</head>
<body>
<div id=”page”><div id=”header”>
<div id=”headerimg”>
<h1>/”><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>
</div>
<?php if (function_exists(‘suckerfish’)) {suckerfish();} ?>
<hr />
<!–
Top navigation bar for WordPress default theme(Kubrick) by https://www.LiewCF.com/Credit:
– CSS code ripped from https://binarybonsai.com/kubrick/
– idea to use wp_list_pages() enlighten by https://www.lamateporunyogur.com/poolApply:
Copy and paste all code here into the END of /wp-content/themes/default/index.php
–><style type=”text/css” media=”screen”>
#supernav {
font: bold 9px/9px Verdana, Lucida Grande, Arial, Helvetica, Sans-Serif;
position: absolute;
top: 201px;
left: 50%;
width: 720px;
margin: 0 0 0 -360px;
padding: 5px 16px; /* duplicate the tab size */
text-align: left;
display: block;
}#supernav li {
margin: 0;
padding: 0;
text-transform: lowercase;
display: inline;
}#supernav a {
color: #FFFFFF;
background: #999999;
font-weight: normal;
height: 19px;
padding: 5px 16px;
/* round corner tab – not for IE */
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px;
}#supernav a:hover {
color: #111;
background: white;
text-decoration: none;
/* round corner tab – not for IE */
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px;
}#supernav .current_page_item a {
color: #111;
background: white;
text-decoration: none;
/* round corner tab – not for IE */
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px;
}#hack {
background: white;
height: 2px;
width: 450px;
display: inline;
position: absolute;
top: 220px;
left: 50%;
margin: 0 0 0 -350px;
padding: 0;
z-index: 2;
}
</style><?php //highlight ‘Blog’ if not Page
if (is_page()) {
$highlight = “page_item”;
} else {
$highlight = “page_item current_page_item”;
}
?><div>
<ul id=”supernav”>
<li class=”<?php echo $highlight; ?>”>“>Blog
<?php wp_list_pages(‘title_li=’); ?></div>
<div id=”hack”></div>
<!–
End – Top navigation bar for WordPress default theme(Kubrick) – by https://www.LiewCF.com
–>Forum: Fixing WordPress
In reply to: Make the front page not blog style?Thanks again for your help. I understand theme editing reasonably well. But I don’t have a clue about templates! back to school..
Forum: Fixing WordPress
In reply to: Make the front page not blog style?Thanks for your help. By blog format I meant chronological, whilst I am aware this is not totally fair it does sum up the majority of blogs in terms of their presentation. Can anyone help a little more specifically on how to remove the date, time, category and author from content written on pages?
Many Thanks Again