C
C
Croatoa2015-03-16 13:12:31
Landing pages
Croatoa, 2015-03-16 13:12:31

How to "pull" landing on wordpress?

Hello. There is a task to make up the layout and pull it on wordpress. The layout is 7 blocks under each other, a classic landing page. I don’t know why they want wordpress for such a task - but we have what we have.
This is the first time I'm facing this issue. Only one thing comes to mind - to make each block a separate entry and bring it to the main one. The question is how to do it? There are also sliders, pop-ups, etc. in the blocks. You can create a rubric, add all 7 posts to this rubric and display all posts from this group for the main one. Is this the correct approach or are there other options? Thank you.
PS I would be very grateful if you give a link to a similar template, I'll take a look at the code and figure it out myself.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
I
Igor Vorotnev, 2015-03-16
@HeadOnFire

I make it easier - with Advanced Custom Fields Pro . An Options page (one or more) is created in the admin panel, it collects the necessary forms for editing content. Rendering the page to the home.php template using functions provided by ACF. As a result, we get:
- a convenient interface in the admin panel for the client
- output in just one template, less work on layout and support
- the ability to hard cache this page into static without additional efforts and plugins
- UPD: if necessary, you can make a multilingual landing page without using plugins for multilingualism

V
Villarou, 2015-03-16
@VirmarY

Your option with records is quite viable. You can create metaboxes for entering information for the main page. Look at a recent post on Habré, maybe it will give you ideas.

M
mr_dev1l, 2015-03-16
@mr_dev1l

make a regular page template, make it the default and display headings with posts there.

M
Maxim Grechushnikov, 2015-03-16
@maxyc_webber

You will have another problem))) how to teach the customer to update information on the site

B
bykaVBS, 2015-03-26
@bykaVBS

There are free analogues of the visual composer plugin (I won’t tell you what it’s called because I don’t remember). Display some blocks as content blocks, some as simple shortcodes (for example, sliders, popups).

M
Maxim, 2015-05-18
@AlBandito

I recommend the Advanced Custom Fields plugin. There is a free and paid version (I advise you not to be greedy and buy Pro). Here is a video on it .

V
Vladimir Kulikov, 2019-05-29
@it_proger29

I'm using Advanced Custom Fields Pro to create fields on the Home page. Or I create fields in a special tab, in the menu.
Here is the tab code.
/**
* ACF Options Page
*
*/
function ea_acf_options_page() {
if ( function_exists( 'acf_add_options_page' ) ) {
acf_add_options_page( array(
'title' => 'Theme Options',
'capability' => 'manage_options',
) ) ;
}
}
add_action( 'init', 'ea_acf_options_page' );
Insert into func...php
ACF that displays information from there, looks like this. <?php the_field('description', 'option'); ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question