Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • GarrettC

    (@garrettc)

    Figured I would share my little coding victory as far as WordPress goes, here.

    I have a blog setup with multiple authors. I have two categories called “Front Page” and “Personal Page”. I wanted users to be able to post on the front page, but also have it so that some posts only appeared on their own pages (index.php?author=x type of links).

    With information gathered from this article and ones related, I cam up with this:


    if (!isset($author)) {
    $cat = "X";
    } else {
    $cat = "X";
    }

    GarrettC

    (@garrettc)

    Figured I would share my little coding victory as far as WordPress goes, here.

    I have a blog setup with multiple authors. I have two categories called “Front Page” and “Personal Page”. I wanted users to be able to post on the front page, but also have it so that some posts only appeared on their own pages (index.php?author=x type of links).

    With information gathered from this article and ones related, I cam up with this:

    if (!isset($author)) {
    $cat = “X”;
    } else {
    $cat = “X”;
    }

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