WordPress.org

Ready to get started?Download WordPress

Forums

Help needed - How to remove blog features for a 100% static website (5 posts)

  1. Frontman
    Member
    Posted 2 years ago #

    Hi,

    I am totally new to WP and gradually making my way up a steep learning curve, but it's actually going OK in the main.

    I purchased Corona theme from YooThemes http://www.yootheme.com/demo/wordpress

    The one issue I have right now is that I don't want any post/blog elements to my pages, just a static site.

    I have added numerous widgets and text features to my pages so far quite successfully but each and every page seems to have an "edit post" link in its content area.

    At first comment boxes also showed, but I since turned comments off to remove this function.

    Question is how do I stop any kind of blog/post feature appearing on my pages?

    I have already set front page to "home" and post page to "blank" (a hidden unused page) in Reading settings.

    Is this problem based on the themes CSS or is this normal!?

    It seems when I add a new page it populates the page in question with the pages title and this "Edit Post" link in the main content area of my pages below the headers/widgets I have above it.

    Is it the case that whenever you add a page that you automatically get an obligatory text/post area to add content into?

    ANY help on this appreciated, thank you!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    Question is how do I stop any kind of blog/post feature appearing on my pages?

    the "edit post" link is only visible for looged-in users with high enough capabilities.
    you either disable these features as far this is possible from the dashboard; or you go through all theme files and remove the corresponding code.

    Is this problem based on the themes CSS or is this normal!?

    nothing to do with css, and no problem either.

    Is it the case that whenever you add a page that you automatically get an obligatory text/post area to add content into?

    yes, that is the default behaviour; however, you can create and use page templates to output whatever you like: http://codex.wordpress.org/Pages#Page_Templates

  3. Frontman
    Member
    Posted 2 years ago #

    Thank you for your reply, that's really helpful.

    Some pages I may not want a post/text feature on, for example if I just wanted to put a web form on the page via my form widget - drag, drop, done.

    This blog/text feature seems to be on every single page I add. Forgive my relative ignorance here but what would be the quickest way for me to identify whether there is any CSS code that in the theme files that is making sure this text area is automatically added to pages?

    Sorry, I know this must be vague, I hope it makes some sense!?

    Cheers!

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    do you mean, how to make sure that the editor content of a page is shown on the actual page in the website?

    this is done by the wordpress function the_content(); in page.php (or index.php if the theme does not ahve the page.php)

  5. Frontman
    Member
    Posted 2 years ago #

    hey, I really appreciate the help.

    I don't know if I'm describing this well enough really, my tech jargon is not very mature yet!!

    I have a slide show at the top of my home page (well all pages), then three text boxes underneath that and they're all formatted in widget settings to look nice etc. No probs there.

    I have a right hand column under these with a media player and some more text beneath.

    Then on the left, under my slide show and three boxes I have this "edit post" link and above that the title of the page "home" in h1 formatting.

    I don't want that "thing" there! :)

    Every new page is the same, slide show, 3 boxes, right column all good then in the white, clean content area to the left an edit post link.

    I understand people wont see that, that's fine, but why is it there and how can I lose it :)

    I have no page.php but I have index.php and this was all that was in it:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>

    What do you reckon?

Topic Closed

This topic has been closed to new replies.

About this Topic