I want to show "About Company Custom Fields" under every article/post that I write. To achieve this, I created custom fields including "Company Name", "Company Description", "Company URL", etc. Those custom fields appear on the back-end when I choose to write a new article.
However, I'm not able to display this information on the front-end.
The first way is that you can use the fields and views button over the wordpress default editor and add the shortcodes for the custom fields to the post editor.
The next way is that you can create a content template for the post type and then add the shortcodes to the content template .
This way each of you posts will automatically display the information when they are created.
I've followed your instruction and tried both methods. These are my findings
METHOD #1:
I don't quit understand why one should create custom fields in the first place if I must go and create shortcodes and insert them in the body of the editor EACH TIME I create a new post?
This is cumbersome. I expected to create custom fields, the writer who writes the article fills the blanks from the back-end and done! Now it is cumbersome from a workflow point of view.
This is not the behavior I expected, otherwise I could achieve this by using Visual Composer to add a simple box at the end of the article achieving the same results or better.
Ok now let's examine method #2
METHOD #2:
I created a template including the custom fields "Company Info". Then when I go create a new post, I see the template appear in the back-end. When I write my article and fill the custom fields in the "Company Info" section, I select the content template I created and save my post. What happens is this template replaces my original content!!
It seems that the created content template is replacing my original post! I want to extend my original post not to replace it!
I'm completely confused now! I might be wrong or missing a point or two!
Please let me know if you need any extra information from my side to help you assist me better.
Please help me solve this issue. If this is not going to solve my pain I would like to ask for a refund.