Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Well, you could just create a child theme based on Twenty Ten in that case. ?? I’ll be honest, I create my own themes so updates aren’t an issue with me and modifying the code means that I can just turn off comments on all of my pages without having to remember to do it later.

    In case you do still want to modify your theme manually, make sure “allow people to post on new articles” is checked, then make the change I specified in loop-page.php.

    Check your most recent post too. Comments are turned off for that, which I don’t think you want.

    Global comments on? Go to Settings -> Discussion, and check “allow people to post on new articles”. This way, comments will be on for your pages too but it’ll display the comments field whenever you view an individual post or page. What templates are you using for your pages?

    You’re using the Twenty Ten theme, right? Okay, it’s been a while since I’ve looked at it. The page you need to modify is loop-page.php, using the same method I mentioned earlier, and change <?php comments_template( '', true ); ?> to <?php// comments_template( '', true ); ?>.

    Edit: scrap that last part. Just go Appearance -> Background, and instead of using one of the colors under “Select a color,” go here, get your color, and copy and paste that code into the field next to background color.

    Really? Go to Pages -> All Pages -> the page you created. It should give you a permanent link below the title that you can access if you copy and paste it into a link.

    Yes, and that’s what I said does. If you uncheck “automatically add new top-level pages” and add things to your menu (then hook your menu), you can create any top-level page and it won’t show up in your menu automatically, while keeping your preferred menu structure. Then, after you create the page, you can just give people the link to that page and not worry about it showing up anywhere you don’t want it to. The process takes about 10 minutes at most.

    To the left of where you created your menu, there should be a dropdown box in a box called Theme Locations. If there’s only one dropdown, use that; if there’s more than one, use the one that says header menu (or if not, make an educated guess, you can change it later easily). Just select the name of the menu you just created, hit save, and that should be it.

    This is what I see:

    • one comment for your post “Reading and Writing” and an option to comment
    • comments off for your posts made in August
    • No option for comments on your Food/Cooking/Eating page
    • An option to post comments on your page on Scotland

    Is this what you want? I imagine not…

    I posted what amounts to the same thing in a reply to this thread:

    Under Appearance -> Menus, do you have “automatically add new top-level pages” checked? If so, this will automatically add any top-level pages that are created. If you can’t see anything interesting, create a menu with only the links you want, add the pages you want to that menu, and then hook the menu into your header. This way, you can create a top-level page and not have it show up in the menu.

    If your theme doesn’t have support for menus, just post here and I’ll give you the code to add to your theme and then you can do the above steps.

    Hope this helps.

    Don’t worry, it’s just one change on one page and it will affect all of your pages. ??

    Go to Appearance -> Editor. Then on the right, click on “Page Template”. You should see <?php comments_template( ", true ); ?> somewhere near the bottom. Change it to <?php// comments_template( ", true ); ?>, <!--<?php comments_template( ", true ); ?>-->, or delete it entirely. Then click on update file and turn your comments back on (I notice you have them turned off site-wide at the moment).

    After you’ve done that and turned comments back on, people will only be able to comment on posts and not pages.

    You may want to try following the directions in the Codex. It seems to me that it might be easier to move the files back (if nothing breaks again…), modify the required files and the database, and then move everything.

    Go into your theme files and find page.php. In page.php, you will see <?php comments_template( '', true ); ?>. Delete it or comment it out.

    Under Appearance -> Menus, do you have “automatically add new top-level pages” checked? If so, this will automatically add any top-level pages that are created. If you can’t see anything interesting, create a menu with only the links you want, add the pages you want to that menu, and then hook the menu into your header. This way, you can create a top-level page and not have it show up in the menu.

    If your theme doesn’t have support for menus, just post here and I’ll give you the code to add to your theme and then you can do the above steps.

    Forum: Themes and Templates
    In reply to: Edit Post Page

    Do you mean a button that someone can click to follow you on Twitter? Try Twitter for websites. Just select what you want, take the markup, go into the appropriate page in your theme, and paste it where you need the button to go.

    Which page do you want it on? If you want it just on post pages, modify single.php.

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