• Hi guys,

    The title might be a little bit misleading but I don’t know how to phrase it better.

    I’m running a website based on wordpress: https://robinbrezina.com/
    All the stuff you see on the index page is hard-coded though (except the news section, of course). I would like the sections to be editable in WordPress though. How do I do this?

    Cheers,
    Dennis

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It looks like you have a custom built theme. Have you talked to the developer, https://dennisschmidt.net

    Thread Starter desch296

    (@desch296)

    I am the developer. :p Yes, I built the theme completely from scratch.

    Do you mean the code is not picking up the data from the_content() from ‘The Loop’?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If you want to handle each section separately, I’d do it this way:

    1) Create a home page template as front-page.php
    2) Use the Advanced Custom Fields plugin to set fields for each area of the homepage
    3) Extract and display those field values in front-page.php

    A tip on your theme. Instead of using just <body>, use <body <?php body_class(); ?>> That will give you a lot more options for styling with your CSS.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to make content editable?’ is closed to new replies.