-1

I have created a website and would like to create a "news" section on it. But I'm going to use this website with a friend that doesn't know html and I thought maybe it's easier to edit that news section with a content management system like WordPress. So I would like to integrate WordPress just for that "news" section like a blog entry so that my friend can edit or add new posts to this section in WordPress. I'm a total beginner in WordPress, so I'd like to get detailed help from you.

Thanks in advance.

2 Answers 2

0

Wordpress was ment for developing blogs, but with the years it evolved to much more. So yes, you can add news as category, after that you can 'attach' post to that category, and display post from only this category on a page. Spend some time on reading about categories and tags in Wordpress. Chosing Wordpress for a blog is a big YES!

1
  • Could you tell me how to do this? I can not find any tutorial to this specific topic.
    – Hip
    Oct 18, 2018 at 21:22
0

Does it have to be wordpress and do you know any PHP?

Because I just recently stumbled upon bludit -> a very easy to use flat file cms that might be perfect for your situation.

I think that Bludit is a lot easier to understand and very straight forward to implement into an existing html website. (Compared to WP)

Edit:

Here an example snippet of a bludit blog post list:

<div class="container">
    <div class="row">
        <div class="col-lg-8 col-md-10 mx-auto">

            <!-- Content -->
           <!-- loop through the pages and create a post-preview div with a link to the blog post detail page -->
            <?php foreach ($content as $page): ?>

                <div class="post-preview">
                    <a href="<?php echo $page->permalink() ?>">
                        <h2 class="post-title"><?php echo $page->title() ?></h2>
                        <h3 class="post-subtitle"><?php echo $page->description() ?></h3>
                    </a>
                    <p class="post-meta"><?php echo $language->get('Posted by').' '.$page->user('username').' - '.$page->date() ?></p>
                </div>
                <hr>

            <?php endforeach ?>
        </div>
    </div>
</div> 

And here an example snippet of the blog post detail page:

<div class="container">
<div class="row">
    <div class="col-lg-8 col-md-10 mx-auto">
    <!-- display the content of the post -->
    <?php echo $page->content() ?>
    </div>
</div>
</div> 

The above examples are taken from the bludit clean blog theme github repo

7
  • I have small knowledge about PHP yet.
    – Hip
    Oct 18, 2018 at 19:17
  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review Oct 18, 2018 at 20:15
  • 2
    Sorry for all the unnecessary edits everyone! I'm still learning how to use stack overflow. Thanks for the help Al Foиce ѫ & Matthew Groves, i tried to be more elaborate and I added examples of how the asker could achieve what he's trying to do. Is that better, @Matthew Groves?
    – Johnny
    Oct 18, 2018 at 22:27
  • 1
    Hi @MatthewGroves, Thank you very much for your explanation! Makes total sense now :P should I delete my answer and add it as comment or can I keep it like this?
    – Johnny
    Oct 25, 2018 at 13:36
  • 1
    @MatthewGroves, will do as soon as I have my 50 reputation.
    – Johnny
    Oct 31, 2018 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.