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 9210823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:09:49+00:00 2026-06-18T01:09:49+00:00

I would like to know the best way to attach more content to a

  • 0

I would like to know the best way to attach more content to a post withtout insert html code (layout and class) into it.
Let me explain my purpose, what I have developed and problems:

Purpose: I would like to create a process that allow the wordpress user to be able to add posts without any Html knowledges.

What I have developed: At the moment, my post contain some top text (with different class and id), a picture gallery and a footer(with different class and id).

Here is my code for a post that I attached the “work” category:

CONTENT OF A POST THAT ADD THE WORK CATEGORY

<h1 class="work-title">Title</h1>
<div class="description">Description 1</div>
<div class="description">Description 2</div>
<div class="details">With links and social media</div>
</div>
<ul class="gallery">
    <li>
<div class="image"><img class="attachment-large" title="XXXXXX" alt="XXXXX" src="http://192.168.0.11//wordpress/wp-content/themes/RORO/images/cake-factory/img1.jpg" width="900" height="auto" /></div></li>
    <li>
<div class="image"><img class="attachment-large" title="XXXXXX" alt="XXXXXX" src="http://192.168.0.11//wordpress/wp-content/themes/RORO/images/cake-factory/img2.jpg" width="900" height="auto" /></div></li>
    <li>
<div class="image"><img class="attachment-large" title="XXXXXX" alt="XXXXXX" src="http://192.168.0.11//wordpress/wp-content/themes/RORO/images/cake-factory/img3.jpg" width="900" height="auto" /></div></li>
</ul>
<div id="footer">
<div id="bottom_description_1"> bla bla</div>
<div id="bottom_description_2"> bla bla</div>
</div>

Problem:

Do I have to separate the header/footer of this post and create two other posts in two subcategory that I will retrieve from the page.php file?

How can I create a default post template for the header with this layout? (custom fields)

   <h1 class="work-title">Title</h1>
       <div class="description">Description 1</div>
       <div class="description">Description 2</div>
       <div class="details">With links and social media</div>
    </div> 

How can I create a default post template for the footer with this layout? (custom fields)

<div id="footer">
   <div id="bottom_description_1"> bla bla</div>
   <div id="bottom_description_2"> bla bla</div>
</div>

What is the best solution to link theses two new posts (header/footer) to the post gallery?

Is there a plugin for it?
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-18T01:09:50+00:00Added an answer on June 18, 2026 at 1:09 am
    1. Create custom post type without editor
    2. Create custom metaboxes for that post type, so You can create form inputs/textarea/etc.

    Here You can read about custom post types:

    http://blog.teamtreehouse.com/create-your-first-wordpress-custom-post-type

    and about metaboxes:

    http://wp.smashingmagazine.com/2011/10/04/create-custom-post-meta-boxes-wordpress/

    More complex and all together:

    http://shibashake.com/wordpress-theme/add-metabox-custom-post-type

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

Sidebar

Related Questions

I would like to know the best way of using Linear Layout or Table
I would like to know the best way to determine if the following code
I would like to know the best way/correct way to achieve from following layout?
I would like to know the best way to create a simple html file
I would like to know the best way to profile app code on OS
I would like to know what's the best way to organize my php project
I would like to know What is the best way to include 3rd party
I would like to know how to use Queue in the best functional way.
I would like to know what is the best, fastest and easiest way to
I would like to know the best way or better ways of doing something

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.