Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8596859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:46:52+00:00 2026-06-12T00:46:52+00:00

I want to take post from themplate static and post it in theme wordpress

  • 0

I want to take post from themplate static and post it in theme wordpress and make it dinamic.

I know how to post simple post which contain two element:

  1. Title text.

  2. paragraph text.

but in my case the post have a style diffrant from simple post.

The static code html which I want to convert it to post theme:

<section id="content">
    <div class="container_16">
        <div class="p10">
            <article class="grid_4">
                <h4>Honeymoons:</h4> 
                <div class="txt-1">Praesent vestibulum aenean Nonummy hendrerit mauris.</div>
                <p>Cum sociis natoque penatibus et magnis dis parturient montes ascetur ridiculus
                mus. Nulla dui. Fusce feugiat malesuada odio.</p> <a href="#" class="link-1">read more</a>
            </article>
            <article class="grid_4">
                <h4>Honeymoons:</h4> 
                <div class="txt-1">Praesent vestibulum aenean Nonummy hendrerit mauris.</div>
                <p>Cum sociis natoque penatibus et magnis dis parturient montes ascetur ridiculus
                mus. Nulla dui. Fusce feugiat malesuada odio.</p> <a href="#" class="link-1">read more</a>
            </article>
            <article class="grid_4">
                <h4>Honeymoons:</h4> 
                <div class="txt-1">Praesent vestibulum aenean Nonummy hendrerit mauris.</div>
                <p>Cum sociis natoque penatibus et magnis dis parturient montes ascetur ridiculus
                mus. Nulla dui. Fusce feugiat malesuada odio.</p> <a href="#" class="link-1">read more</a>
            </article>
        </div>
</section>

How can I add tag html to post as you can see in the below code : ?

  1. <article class="grid_4">

  2. <h4>here is the title:</h4>

  3. <div class="txt-1">

  4. <p>

the style:

enter image description here

Many Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:46:53+00:00Added an answer on June 12, 2026 at 12:46 am

    I think from your question you are looking for something like the code below;

    <section id="content">
        <div class="container_16">
            <div class="p10">
    
            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>     
    
                <article class="grid_4">
    
    
                        <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
    
                        <div class="txt-1"><?php the_excerpt(); ?></div>
    
                        <?php the_content(); ?>
    
                        <a href="<?php the_permalink(); ?>" class="link-1">read more</a>
    
    
                </article>
    
            <?php endwhile; endif; ?>
    
            </div>
        </div>
    </section>      
    

    That will certainly help you get going. Note you have omitted a closing </div> tag.

    You might want to look at a custom WP_Query rather than just a standard WordPress Loop, so you can pull the 3 latest posts out of your blog, or pull posts from a specific category.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just want a function that can take 2 parameters: the URL to POST
I want to take input from a textfield and turn it into an array
Say I am calling a third-party API which returns a Post, and I want
I want to itterate over a array of key,value pairs from post parameters: Parameters:
I want to take a field in the add form of the Post, explode
I want to write a function which will take a series of fields and
I want to take a math expression that takes variables and print (assign to
I want to take backup or restore of my oracle database through .Net code.
I want to take advantage of DateTimePicker 's date validation, but the calendar seemed
I want to take an expression in tcl and convert its _ to <

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.