W
W
Worddoc2016-12-03 18:34:22
CMS
Worddoc, 2016-12-03 18:34:22

How to change the titles and texts of the layout planted on Wordpress?

Hello.
According to the lesson, I put the layout on the CMS, instead of headings (h1-h4) it stands: <?php the_title(); ?>
Instead of paragraphs: <?php the_post(); ?> <?php the_content(); ?>
Having entered the admin panel, I did not understand how to change specifically a separate heading that is tied to a specific h or p tag.
Adding new entries with titles doesn't help. Apparently all <?php the_title(); ?>are attached to the same record. Tell me, please, how do I get a separate text in a separate tag through the Wordpress admin panel (without editing the html markup in the internal editor), and if you set the "left" php function to display the text title, tell me which function should be inserted? (The wordpress documentation will not give me anything specifically). As far as I understand, I need to create a bunch of posts and attach each to the desired tag? How can you hook up? Thank you!
Video tutorial I used: https://www.youtube.com/watch?v=7akPICFR-AI

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel, 2016-12-04
@Worddoc

Ask specific and correct questions and then you will get answers.
That you documentation though open that!! the_title()Displays the title of the current entry in the loop. HTML headers have nothing to do with it. You can wrap the function in a header or pass header tags as arguments to this function.

Instead of paragraphs: <?php the_post(); ?> <?php the_content(); ?>
What does it mean instead of paragraphs? Go to documentation. Using the_post()OUTSIDE of the WP loop doesn't make any sense. the_content()outputs the contents of the current entry in a loop. And what about paragraphs?
I followed your link - this is some kind of fierce trash, not a tutorial. The author himself has no idea what he is doing.
Some "Bad advice" from Grigory Oster
For some reason, everyone works according to the documentation, but it won't give you anything? Get to the bottom of it to get started. Look at the theme's template hierarchy. Learn about the WP cycle, template tags.
Code and Kama to help you.
No "WP in 12 minutes" will help you, and no one on the toaster will teach you "everything" within one answer. Understand the topic and come with specific problems, not abstract questions, the essence of which you yourself have a poor idea of.
Check out this playlist https://www.youtube.com/watch?v=iMzq63_-sXI&list=P... , it's sensible

A
A person from Kazakhstan, 2016-12-03
@LenovoId

Bad layout, in theory, all texts should be manageable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question