soupking
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Alternate Post Template Content?By the way, the answer to the question I had was something like this:
if(is_home()){ //only show the DIV "content" on the home index ?> <div id="content"> // insert content desired if the existing page is home </div> <?php }
I’ve been everywhere and could not find a conditional argument example adding/removing DIV content anywhere. Only page/post by ID or category. That and more complex PHP examples that don’t include any <DIV> tags to show content integration.
Thank goodness for forums. ??
Forum: Fixing WordPress
In reply to: Alternate Post Template Content?Cool, will continue to do that. I’m using Thematic and their docs and forum has been a mainstay for me all month.
Thanks esmi! ??
Forum: Fixing WordPress
In reply to: Alternate Post Template Content?Hi esmi,
Yeah, I’ve been to that page as well as the one on conditional tags.
The thing is I just want to do something very basic like create a condition for a post template div section (on/off).
But I don’t know how it’s spelled out in PHP.
I have this in my functions.php:
[Code moderated as per the Forum Rules. Please use the pastebin]
The condition address excerpts vs. full page for the index. However, it doesn’t address specific DIV tag or content hooks in a post. At least, I don’t understand what to replace it with.
I’ve been working off samples but my current situation has nothing to compare, pattern, and learn.
There should be a resource with an example of somebody removing a DIV or hook from a particular post template I would think, no?
Forum: Themes and Templates
In reply to: Editing HTML in WordPressCool, thanks Josh!
Forum: Themes and Templates
In reply to: Editing HTML in WordPressYeah, I’m getting that feeling. Whether I adopt a them or start from scratch, I’m just trying to get my head around WP.
So, if I wanted to start from scratch, I’d probably use a very basic HTML structured template and then analyze WP’s set of API functions right?
Like that’s how I’d get around not being tied to a template, right? Is that the idea? That’s how people customize their own?
Forum: Themes and Templates
In reply to: Editing HTML in WordPress@josh – thanks man, I’ll check it out.
Forum: Themes and Templates
In reply to: Editing HTML in WordPressI switched templates and I’m starting to get the feel for this…a bit.
I see what you mean about the get_header > header.php
But when I pull up header.php all that in it is:
<div id="header"> <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <div class="description"><?php bloginfo('description'); ?></div> </div>
I’m looking to edit the source:
<div id="slimmenu"><ul><li class="page_item page-item-2 current_page_item"><a href="https://axiom-media.com/work/fdb/?page_id=2" title="ABOUT">ABOUT</a></li> <li class="page_item page-item-11"><a href="https://axiom-media.com/work/fdb/?page_id=11" title="LINEUP">LINEUP</a></li> <li class="page_item page-item-13"><a href="https://axiom-media.com/work/fdb/?page_id=13" title="SHIT LIST">SHIT LIST</a></li> </ul></div>
So I get what you’re saying, but it’s not the actual page source. Why is that and how can I access it? Is my only option to choose another template and edit that to my whims?
Forum: Themes and Templates
In reply to: Editing HTML in WordPresstemplate: LiasBlueWorld
I’m thinking maybe I should convert another template. ?
I drew up my own design in Photoshop and am trying to conform the XHTML/CSS template to it…which is really strange.
Is that generally what people do to customize their own?
Thanks for the responses you guys! ??
Forum: Themes and Templates
In reply to: Editing HTML in WordPressI found the editor but it only edits the CSS. I need to find access to the actual HTML.
The Menu Panel doesn’t show the item ‘Home’. It starts with About and whatever else I add, but I don’t want the home link in the menu. I’m trying to delete and won’t give me access to the HTML.
The actual PHP pages just link out to functions, I can’t find any raw HTML to edit.
What am I missing here?
Forum: Themes and Templates
In reply to: Where do I code CSS?Ohhh, awesome! Thanks govpatel! ??