catalytica
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Archives Navigation Link Not Working in Depo Masthead ThemeHi kz –
I wanted to let you know that a local friend helped me with this problem and found another workaround, since I wasn’t able to make yours work — although you clearly could 🙂
Here’s what he said he did, FYI…
“As it turns out, there is a bug with WordPress in that it sometimes doesn’t write your htaccess files correctly. The solution was to edit the htaccess file to remove all information in it and then update the permissions.”I appreciate all your tremendous efforts to help me kz!!
Peace
Forum: Themes and Templates
In reply to: Archives Navigation Link Not Working in Depo Masthead ThemeWeird. The code was truncated in my last post, so I’m trying it again…
The code you quoted above and said to change didn’t exist as you wrote it. The code that was closest was this:
<a
href=”%3C?php%20bloginfo%28%27url%27%29;%20?%3E/%3C?php%20echo%20mysql2date%28%27Y%27,%20get_lastpostdate%28%27blog%27%29%29;%20?%3E/”><?php _e(‘Archives’, ‘depo-masthead’); ?>So I tried changing that (the above quoted code) to what you recommended:
<a
href=”<?php echo get_year_link(mysql2date(‘Y’, get_lastpostdate(‘blog’))); ?>/”><?php _e(‘Archives’, ‘depo-masthead’); ?>I also set the common setting/custom structure to %postnames%
This broke the page navigation completely. More accurately, it removed the header entirely.
I thank you for your help, but I couldn’t execute your suggestion exactly as you wrote it because the code you said to replace just didn’t exists are you wrote it.
Sigh.
I put things back, but Archive issue remains a mystery…
Forum: Themes and Templates
In reply to: Archives Navigation Link Not Working in Depo Masthead ThemeForum: Themes and Templates
In reply to: Archives Navigation Link Not Working in Depo Masthead Themekz –
I’ve been trying to find the php code for the navigation. The following is a file called “header.php” that I found in the theme folder (the theme I’m using of course).
I do see reference to Archive here, but can’t read the code. Does this tell you something about the problem?
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<?php language_attributes(); ?>
<meta http-equiv=”Content-Type”
content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<title><?php wp_title(); ?> <?php bloginfo(‘name’); ?></title>
<link rel=”stylesheet”
href=”%3C?php%20bloginfo%28%27stylesheet_url%27%29;%20?%3E”
type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml”
title=”<?php bloginfo(‘name’); ?> RSS Feed”
href=”%3C?php%20bloginfo%28%27rss2_url%27%29;%20?%3E” />
<link rel=”pingback”
href=”%3C?php%20bloginfo%28%27pingback_url%27%29;%20?%3E” />
</head>
<body>
>
<!–[if gte IE 6]><link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_directory’); ?>/ie.css” type=”text/css” media=”screen” /><![endif]–><?php wp_enqueue_script(‘jquery’); ?>
<?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ );
wp_head();
?>
<script type=”text/javascript” charset=”utf-8″>
/*<![CDATA[ */
//set title font size
jQuery(document).ready(function() {function resize(selector, max) {
jQuery(selector).each(function() {var width = jQuery(this).width();
var height = jQuery(this).height();
if(width > max) {
var r = ( height / width );
var w = max;
var h = ( w * r );
jQuery(this).height(h).width(w);
}});
}resize(‘#home .gallery img’, 90);
resize(‘#home .entry img’, 300);
resize(‘#home .wp-caption img’, 290);
resize(‘#home .wp-caption’, 300);
jQuery(‘#home .wp-caption’).css(‘height’, ‘auto’);
});
/* ]]> */
</script><?php if((is_front_page() or is_home()) && !is_page()) { echo ‘ id=”home”‘; } ?>>
<div id=”page”>
<h1 class=”name”><a
href=”%3C?php%20echo%20get_option%28%27home%27%29;%20?%3E/”
title=”<?php bloginfo(‘description’); ?>”><span><?php $my_query = new WP_Query(‘showposts=1’);
while ($my_query->have_posts() && $count < 1) : $my_query->the_post();
$do_not_duplicate = $post->ID;?><?php $count++; $title = get_userdata($post->post_author); $title = $title->display_name; ?><?php endwhile; ?><?php echo (get_option(‘depo-author-name’)) ? get_option(‘depo-author-name’) : $title; ?> </span></h1>
<div id=”container”>
<div class=”sleeve”>
<div id=”header”><?php $title = strlen(get_bloginfo(‘name’));
if($title >= 30) $title = 40;
$new_size = (1000/$title)*2;
if($new_size > 120) $new_size = 120;
if(preg_match(‘/.*\s.*/’,$title) === false && ($title > 20)) $new_size = 72;
$size = $new_size;?>
<h1 style=””><?php if(!is_front_page()) { ?> <a
href=”%3C?php%20echo%20get_option%28%27home%27%29;%20?%3E/”
title=”<?php bloginfo(‘description’); ?>”><?php } ?><?php bloginfo(‘name’); ?><?php if(!is_front_page()) { ?> <?php } ?>
</h1>
<ul id=”menu”>
<?php $pages = get_pages(‘sort_column=menu_order’);
foreach ($pages as $pagg) {
if ( $pagg->post_parent == 0 ) {
$option = ‘- ID).'”>’;
$option .= $pagg->post_title;
$option .= ‘<span>|</span> - <a
href=”%3C?php%20bloginfo%28%27url%27%29;%20?%3E/%3C?php%20echo%20mysql2date%28%27Y%27,%20get_lastpostdate%28%27blog%27%29%29;%20?%3E/”><?php _e(‘Archives’, ‘depo-masthead’); ?><span>|</span> - <?php _e(‘RSS Feed’, ‘depo-masthead’); ?>
‘;
echo $option;
}
}
?></div>
<div id=”content” class=”group”></div>
</div>
</div>
</div>
</body>
</html>Forum: Themes and Templates
In reply to: Archives Navigation Link Not Working in Depo Masthead ThemeHi kz –
I would happily show you my “.php code that output the navigation” but I don’t know where that is to show you. I know a bit of html, but php is totally foreign to me.
Yes, the question is exactly as you say, “why only yearly archive link doesnt include ‘index.php’ ?”
Yousay “You must set ‘%postname%’ to [common options|custom structure], and save option.” But I have done this already — as well as many other variations mentioned above.
No matter what I change the permalinks Common Settings to the archive navigation still directs to http://catalytica.biz/360salon/2010/
In what file would I find the php code for the navigation?
Forum: Fixing WordPress
In reply to: Comments Not Working in Depo MastheadLooks like it’s a Safari issue. Comments work in Firefox. Any ideas for work-around, please?
Forum: Themes and Templates
In reply to: Archives Navigation Link Not Working in Depo Masthead ThemeThanks for sticking with me on this, kz…
I still haven’t got it though. Sigh.
I re-read the post about permalinks. Went to my permalink settings. They were set for day & name.
I tried typing all of the following in custom changes and none have worked:
/index.php/%postname%/
/index.php/archives/%postname%
/index.php/%date%/%postname%
/index.php/%year%/%postname%
/%postname%/
%postname%I continue to get a 404 error at http://catalytica.biz/360salon/2010/ when I click the ARCHIVES link in the navigation.
Any other ideas what I might be doing wrong or missing?
Forum: Themes and Templates
In reply to: Archives Navigation Link Not Working in Depo Masthead ThemeThank you, kz, for your reply, but it’s a bit over my head…
Can you tell me where that permalink lives that I need to change to %postname% ?
Thanks!
Forum: Fixing WordPress
In reply to: TinyMCE won’t show all my editing buttons in the visual editorThanks, ZGani! I had this problem too and found the “kitchen sink” icon and all is well know 😉
- ID).'”>’;