• Resolved bosworth99

    (@bosworth99)


    Greetings WP.org. First post. yay.

    I’m setting up my first wp site – and had a couple questions about site structure yall might be able to answer.

    First off – I have a background of almost a decade of web development, including straight up html/css/javascript and a lot of flash development(as3). I’ve done very little work with php, but nothing I’ve looked at on the backend of WP is too confusing (okay, a little bit of the syntax is confusing, but I’m sure I’ll sort it out).

    Anyway. My brand new site is going to feature just a few things: artsy code projects, a portfolio of illustrations and the like, and a blog section. The main index page is vertically organize into three main sections – illustrative / artistic code projects at the top, then a customized portfolio and then a chunk of excerpts from recent blog posts. The portfolio stuff links off to a main portfolio page, and blog links head off to the main blog section (into the interior of the wp folder structure).

    My file structure looks like this: [css/img/js/php/swf/wp/xml].
    I would very much like to keep my file structure separate from the interior of the WP, and rather, make calls up to the main directory for wp assets (rather than keeping assets in the internal theme folder). Make sense?

    I know that I can add pages to the internal WP structure with WP tools, and create a static index wp page… but I’m unclear what gains I would receive working like that. At this point, I more comfortable working as indicated. (Though, I’d happily be educated, however, to the benefits of the latter.)

    So, my uber-technical question: how should I go about manually pulling post excerpts onto this main index page (which is specifically not built via the standard ‘header,loop,footer’ logic sequence). What functions do I need to include, and in which order, to reach down into the wp structure, and return content (in this case, post excerpts)? I also will need to figure out how to customize excerpts.. but one thing at a time.

    I’m developing via CS5 and an install of XAMPP.

    Thanks in advance!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter bosworth99

    (@bosworth99)

    Busy forum…

    so bump.

    Alwyn Botha

    (@123milliseconds)

    Thread Starter bosworth99

    (@bosworth99)

    Thanks for the reply.

    Well = I definitely got that part of things. As I noted in my albeit lengthy post, I’m trying to pull experts into a “static” php page held outside the wp file structure, that does not include the standard get_header(); and get_footer(); calls. Is this possible?

    Or can I use a modified header and footer that I only use on this “static-ish” external home page? (I’m unsure if this page meets the needs of the standard static wp page – were this site “only” a blog.) This may require a manual instantiation of the wp-query sequence…

    Sorry if I’m being unclear, I’m just getting into this project, and I want to have a few things clear before I get into the code. (Currently still working on the design of the thing, prior to functionality.)

    Thanks again.

    Alwyn Botha

    (@123milliseconds)

    >>This may require a manual instantiation of the wp-query sequence…

    Extract does not require head or foot; but to be in the wp loop

    So, have a minimal php page with just the loop and extract and your static design

    Thread Starter bosworth99

    (@bosworth99)

    Extract does not require head or foot; but to be in the wp loop

    So, have a minimal php page with just the loop and extract and your static design

    Perfect. That is exactly what I will do… Thanks for the help!

    Alwyn Botha

    (@123milliseconds)

    Please mark thread as resolved so that

    – others with similar problem can see it as resolved and will read this thread for help if they have similar problem

    – people providing help see it as resolved and will not waste time reading this post.

    Thread Starter bosworth99

    (@bosworth99)

    will do. thanks again.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Site structure question’ is closed to new replies.