Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Ah OK – sorry no idea for that.

    Thread Starter chriggi

    (@chriggi)

    I’ve tried it and it didn’t work.

    What I did:
    – I moved index.php to a new folder called /blog
    – I changed the Blog URI in the Admin Panel to this directory
    – I don’t care for the now plain front page. I could fix that later

    The problem was: the other pages. WP changed their URL to ../blog/PAGENAME, I want them to stay ../PAGENAME. And they couldn’t be reached at either. The Feed seemed to stay at ../feed.

    So the problem stays.

    What I have and what I want:
    – WP is installed in ..
    – I want the blog posts be seen at ../blog and have page navigation (see firts post of this thread)
    – I want pages (created by WP) at ../PAGENAME
    – the front page will be filled with snips of posts and other stuff. But that is not the problem now.
    – The feed URL shall stay at ../feed

    Any ideas how to achieve that? (Another thing I tried was just multiplying index.php to the directory /blog. But that produces a 404 error for /page/2/ wih page navigation.)

    Thread Starter chriggi

    (@chriggi)

    Lorelle, thanks for your answer. But I’m not really sure if that is what I want.

    If I go this way (the one w/o moving WP but only index.php), I could have:
    – a static front page with WordPress Integration. That’s fine.
    – I would move index.php to a folder called /blog, so I have the flexibility of index.php at https://katzenbach.info/blog

    But I am not really sure about the implications. Does that change the Feed-URL or the URLs of other pages like “Contact”? I do not want them to be https://katzenbach.info/blog/contact, they must stay in this form: https://katzenbach.info/contact.

    My only idea is to use list_cats twice (or more): One list w/ feeds on, one without – and excluding the specific categories from the inappropriate list.

    But I not an expert. There’ll be more helpful answers, I’m sure.

    I have the sampe problem. Nobody having ideas what to do or to check? Or, melevittfl, have you found a workaround or a solution in the meantime?

    As I understand, this $BX_excluded_pages function is only for navigation in the sidebar. The top navigation does not use this function.

    I managed to exclude pages without hardcoding it by changing the BX_get_pages function in BX_functions.php. I inserted in the query a condition to exclude the specific page.

    So I changed:

    function BX_get_pages($with_content = '')<br />
    {<br />
    global $wpdb;<br />
    $query = "SELECT ID, post_title, post_name FROM " . $wpdb->posts . " WHERE post_status='static' ORDER BY menu_order ASC";<br />

    to:

    function BX_get_pages($with_content = '')<br />
    {<br />
    global $wpdb;<br />
    $query = "SELECT ID, post_title, post_name FROM " . $wpdb->posts . " WHERE post_status='static' &&amp; post_title!='fotoalben' ORDER BY menu_order ASC";

    by inserting the conditon post_title!=PAGETITLE with the specific page title I wanted to exclude. Hope that helps.

    Thread Starter chriggi

    (@chriggi)

    Good idea ??

    I’d kinda prefer using the tagline in terms of coherence etc. Is that impossible?

Viewing 7 replies - 1 through 7 (of 7 total)