Нужен совет касательно выводов постов WordPress
4 USDЗдравствуйте... Не совсем проект, скорее вопрос.
У меня есть лендинг на Wordpress, там есть различные категории товаров. Каждый товар - это отдельный пост, который я (как администратор сайта) заполняю данными (цена, название, описание товара и тд) и потом он появляется на сайте. На сколько мне известно, там используется кастомные поля Advanced Custom Fields. А после того как я заполнил все эти поля то через цикл рендерятся все посты на странице.
Но проблема в следующем: мне приходится дважды заполнять эти поля. То есть сначала я все заполняю, публикую пост и вижу на моем сайте только каркас поста (там по верстке есть рамка и кнопка которая везде одинаковая во всех постах). А также там отображается само названия поста, больше ничего нету. Но потом я перезагружаю страницу редактирования поста и заполняю все поля снова, после чего снова публикую пост. Тогда уже все отображается как нужно, все данные из админки успешно подставляются в верстку.
Если кто сталкивался с таким, то как решить это? Или хотябы подскажите в чем может быть проблема?
Вот код самого цикла, если нужно:
Applications 1
-
Здравствуйте. Попробуйте увеличить значение max_input_vars в php.ini
-
смотря к чему у вас привязаны поля. обычно при выборе категории нужные поля сразу подгружаются.
-
Current freelance projects in the category PHP
Developer for CMS website project on Drupal 7 + PHP/MySQL.We are looking for a developer to assist with the setup of a CMS site on Drupal 7 + PHP/MySQL. Task:1. Create product cards for the entire range of products (currently, not all products on the site have product cards with descriptions and characteristics).2. Add correct… Content Management Systems, PHP ∙ 2 days 2 hours back ∙ 39 proposals |
Looking for a Bitrix24 specialist / CRM integrator to set up automation.Our company works with CRM Bitrix24. We need a specialist who can set up automatic addition of phone numbers to leads/orders in two formats. Automation must be correctly configured for two countries: the Republic of Moldova and Romania. Task: When creating a lead or order in… PHP, Web Programming ∙ 3 days back ∙ 24 proposals |
Website optimizationOptimization of the website jdgreta.co.uk on Shopify. SEO audit attached to the project. Main tasks - - Fix all meta data - Complete the technical specifications for the programmer (since this project combines tasks for both the programmer and SEO, if you are not a company -… HTML & CSS, PHP ∙ 3 days 20 hours back ∙ 32 proposals |
Horoshop SpecialistNeed a specialist who can correctly set up the product Feed. Problem: Currently, over 13,000 products are being uploaded with the same type value (e.g., "everything for manicure and pedicure"). Because of this, it is impossible to segment products in Google Ads and set different… PHP, Website Maintenance ∙ 4 days 23 hours back ∙ 21 proposals |
Make sure that order emails from the store do not go to spam.Currently, there is a store on OpenCart, and order emails are landing in spam. We need to ensure they go to Inbox (ukr.net gmail) and check it. The hosting provider wrote: Poor email delivery may be related to a low sender reputation - IP or domain. In this case, we can advise… PHP, Web Programming ∙ 6 days back ∙ 47 proposals |