Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter RickWolff

    (@rickwolff)

    Stephen:
    For my education: In that example in that Codex page,

    function new_excerpt_more( $more ) {return '[.....]';}
    add_filter('excerpt_more', 'new_excerpt_more');

    Line 2 is saying, “change ‘excerpt_more’ to ‘new_excerpt_more’, which I’ve defined in line 1 to be five dots in a row.” Right? So I just go {return '[]';} and it replaces it with nothing? Or are five dots interpreted as “put nothing here”? What does ($more) mean? Am I completely misunderstanding what happens here?
    The business about Headway providing me a hook: notice I’m not asking “How do I point to where in the loop I want the excerpt to appear?” because I figured out hooks. Don’t worry about it.
    Also, to make it style-able, somewhere I make it echo <div class="subtitle"> and </div>, right? It requires a deft switch from PHP to HTML and back. I can mimic from a well-written example. Got any I can link to?
    And to make it appear as a subtitle only in the first post of my blog index page and in a single post page, I use conditionals, right? Again, how do I phrase what I want to say? Any examples you can link me to?
    Yes, I’m using a forum to steal an education.

Viewing 1 replies (of 1 total)