Forum Replies Created

Viewing 5 replies - 31 through 35 (of 35 total)
  • Do they follow any logic at all (same category, a specific time period, etc)? You might be able to do so by logging in directly to your mySQL engine and running a query on it (or use an interface like the phpMyAdmin)

    This may or may not be related, but when I use the the_date() function to get the date, it sometimes pulls the date and sometimes it doesn’t. It’s really annoying, but I don’t know how to fix it. It seemed like the the_date function did not appear when it was the second instance of the function running on the same date.

    yes, you can modify your post_date values. you might want to go to options -> writing and check the box “advanced editing” so as to save you once click per post if there are many entries awaiting you.

    1. Category specific coding inside the loop

    I believe I have a similar question. I want to introduce this IF statement:

    <?php if (the_category_ID(false)==33) { ?>
    category specific HTML code
    <? } >

    I put this inside the loop. And it doesn’t seem to work. What would be the right statement?

    2. category specific coding outside the loop.

    I would also like to change the menu bar’s content according to how the index.php is being queried, so the menu bar will show one thing if index.php?cat=31 and another if ?cat=32 (if I could get to the category permalinks, the better)

    how do I do that?

    1. Category specific coding inside the loop

    I believe I have a similar question. I want to introduce this IF statement:

    <?php if (the_category_ID(false)==33) { ?>
    category specific HTML code
    <? } >

    I put this inside the loop. And it doesn’t seem to work. What would be the right statement?

    2. category specific coding outside the loop.

    I would also like to change the menu bar’s content according to how the index.php is being queried, so the menu bar will show one thing if index.php?cat=31 and another if ?cat=32 (if I could get to the category permalinks, the better)

    how do I do that?

Viewing 5 replies - 31 through 35 (of 35 total)