Forum Replies Created

Viewing 15 replies - 91 through 105 (of 217 total)
  • You wouldn’t have to worry about upgrades breaking this if you defined your own functions in a seperate php file (like a plugin would). Simply copy all the function definition into your own file (myCode.php) and rename the function something like my_list_pages() and make the changes you want. Then include myCode.php once in your header or something like that.

    I’ve done this for precisely this sub-page listing functionality and it works well. If you go to my “about” page all of the “recommendeds” links on the right sidebar are actually just subpages… and that little menu is dynamically generated.

    Sometimes renaming to a zip works, too. (as a Windows file-type association workaround)

    You realize that a blank theme will actually be much more work to create than using one already made as a base design?

    Take an existing AJAX theme and simply place your style of fonts and colors in place of the ones used… an extra bonus of this is you can see how the existing theme is using the AJAX functionality.

    I suppose if you were really neurotic about it you could get an existing theme and make it blank yourself…. but really, if you don’t know how to “blank” a theme or modify an existing one you’re not going to know how to create one from a blank state anyway.

    This is almost exactly the same discussion I was having yesterday in this topic: http://wordpress.org/support/topic/60661

    moshu :: I would do it the way you describe but I don’t like the way the permalinks appear. I would provide my own back button navigation. What I’m really concerned about is being able to use ‘<!–more–>’ and excerpts (because, in my case, I’m embedding flash files that I don’t want to appear except in single post mode).

    Making a category template page (called, for example, category-6.php) works for my purposes until people click the post (to see the flash file), at which point in time they view the post with single.php and my navigation now tells them they are in the ‘archives’. I’m trying to avoid that.

    All this would be for naught if Gallery2 or CopperMine actually integrated with WordPress for “real”. 🙂

    Thread Starter waraxe

    (@waraxe)

    petit :: Thanks! I’ll look into that. I’m pretty savvy with PHP so I understand what I’ll need to do for excluding… but to be honest I’ve never tread into the scary domain of permalinks. I’ve always blindly trusted WP and anny plugin to “do its thing”. 🙂

    Great suggestion about using excerpts, btw.

    Here’s an important question. Is there a way to (just like with category-6) to use the permalinks “thang” to show my potential post in the manner I want? (i.e. http://www.mysite.com/flash/joust) Can this be done with single.php (or would I have to concoct some other file)?

    Thread Starter waraxe

    (@waraxe)

    moshu :: Yes, I think you understand what I’m trying to do. The whole <!--more--> thing is a bit of a red herring in htis discussion, but it’s important for people to visualize that I want an entire list of Flash-related posts to display (just like index.php), but until you clicked on the post to go to the single.php view you wouldn’t see the actual Flash file.

    petit :: Yes, exactly right! The problem is that I wanted my list of flash posts to have a URL like http://www.mysite.com/flash rather than http://www.mysite.com/archives/category/flash. I suppose I could settle for http://www.mysite.com/category-6 (and that would give me a way of keeping my dynamic menu highlighting… but I’d have to hard code those pages).

    I was hoping that, besides excluding the flash posts from the main index.php loop, that I could create a flash.php that had a loop just for Flash-categorized posts… and that clicking the post to go to a single.php view would actually go to something like http://www.mysite.com/flash/joust (where joust is the title of the post).

    Am I in fairy-tale land or is what I’m conceiving reasonable? (or both 🙂

    Thread Starter waraxe

    (@waraxe)

    moshu :: Yeah, what I want to do is to have a seperate page of my site dedicated to Flash files. I would use the newly discovered <!--m ore--> feature to prevent all the files from displaying playing at onece, etc… but I would want only the Flash-category posts to be displayed on this page) along with “previous” and “next” links where appropriate. It sounds like I could just copy my index.php page to, we’ll say media.php and have the loop only show media categories of posts (I’d also hide those categories from other areas).

    Does this sound feasible? But, once I clicked on the post in the media.php page, it would then go to my archives page… which I don’t want. Some of the reason i don’t want that is because of my active-page navigation menu highlighting.

    moshu, does this make sense?

    Thread Starter waraxe

    (@waraxe)

    Thanks, geoffe. That looks like what I want.

    Also, I’d been rackin’ my brain to hack some functionality that is IDENTICAL to that accomplished by using <!--more--> Isn’t that pathetic? 🙂

    cjohnson :: Anything ever come of this? Are you still working on it? Do you have a development page?

    Thread Starter waraxe

    (@waraxe)

    Okay, I just looked through the repositories for anything that appeared to be similar and didn’t see it, so if somebody notices please let me know.

    Otherwise, heres a link to the static demo again. http://www.negative99.com/res/thin_green_line/readme.html

    I’m always curious to see what v thinks. 🙂

    Thread Starter waraxe

    (@waraxe)

    miklb :: Thanks for the feedback. If you saw it before it wasn’t me, which begs the question – did I just convert a template into WordPress that someone already did!? That’d be a lot for no gain. 🙁 I’ll have to check it out when I get back from work today.

    Oh well. 🙂

    Thread Starter waraxe

    (@waraxe)

    Thanks, Appletalk!

    Okay, here’s a static demo page: http://www.negative99.com/res/thin_green_line/readme.html

    Wow. He’s a busy boy. He even got Charisma Carpenter… that dog! 🙂 He’s gotta have a bot spidering to find directories with vulnerable permission settings… where he can upload some nasty code and execute it right on your system.

    Do you remember what your loverzlane folders were set at for Unix permissions?

    Forum: Fixing WordPress
    In reply to: Smilie syntax

    Thanks. I feel dumb.

    Forum: Fixing WordPress
    In reply to: Smilie syntax

    …and while we’re at it… is there a master list of them?

Viewing 15 replies - 91 through 105 (of 217 total)