• Sorry to ask this as I’m sure it’s really obvious.. But the main content of my page is not showing up and I can see why but I can’t work out how to fix it!

    I’m not great with php and css so if someone could point me in the right direction for what the issue is, I’ll try and work out how to fix it.

    the site is http://www.iceniwarriors.com/sample-page/ and on the page, there should be a who load of information including a couple of photo’s of people training.

    I have noticed that the css sheet isn’t loading, which is probably the issue, but I can’t see why it’s not loading…!

    I’ve checked the location that the link is pointing too, and it looks to be okay but it’s still not picking it up. For info, I’m migrating from a website to a wordpress so I might just be going about things the wrong way but I would really appreciate some help with this.I appreciate that this is probably a very basic issue that is easy to fix, but I’m totally missing it!

    Thanks,

    Ken

Viewing 4 replies - 1 through 4 (of 4 total)
  • You seem to have edited the theme files a LOT. This has messed up things.

    The <style> tag is placed above the <html> tag like this

    <!DOCTYPE html>
    <link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
    <html lang="en-US">
    <head>
    <meta charset="UTF-8" />

    Correct this and place it inside the <head> and the CSS path is also wrong.

    From the original functions.php of this theme the following code is inside the pinboard_register_styles() function.

    wp_register_style( 'pinboard', get_stylesheet_uri(), $pinboard_deps, null );

    As for the missing content lines 996 to 1052 are commented with <!-- --> remove those and you’ll see something like this.

    Thread Starter Ken Bool

    (@ken-bool)

    Hi Jesin,

    Sorry to leave it so long before coming back to you. I’ve had a look over what you’ve said and I have a few queries.

    1. The Style Tag was set the same as what you have posted, Do I need to change this to something else?

    2. I’ve had a look at the functions.php and I’ve found the code you have mentioned but what relevance is it?

    3. The only .php file that I can which has more that 750 lines is the functions.php but I can’t see anything commented out on it.. Can you advise if I’m looking in the wrong place?

    Thanks.

    Edit the header.php and remove <link rel="stylesheet" type="text/css" href="css/style.css" media="screen" /> from the 2nd line.

    You seem to have already removed the comments as I can see photos of people training.

    From what I understand you have copy pasted the HTML code (including the <html> <head> tags, the logo and menu) from your old website to a new page (with page id 2).

    This is not the right way of creating a site with WordPress as it defeats the purpose of a Content Management System.

    You should put your content inside a page with images inserted as attachments. The logo should be uploaded to the theme options (if this theme has one) and the menu will go to Appearance > Menus.

    Moreover any changes you make to the original theme files will be overwritten once you update your theme. So a child theme should be used in this case.

    hello i think you are doing work with wordpress first time dont worry as jesin told you already about child theme firstly you have to read the backend of the wordpress then check the documentation for the theme

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Theme: Pinboard] main content not showing’ is closed to new replies.