Search doesn’t show one custom field value
-
Hi. I’m designing a wordpress theme for a company website, therefore I’m using wordpress as a CMS. Posts in my theme are the company’s products and I added extra data to them through custom fields.
When the user searches for something, the search.php template page will generate an html table. Each row in this table is a product and each cell in a row is one custom field of that product.
The same behavior occurs when a user browses a category of products.
The problem is that if I search a product, the values of the custom field ‘size’ are missing for every product, whereas if I browse a category the values of that custom field for each product will be shown.
PS: I use for searches the plugin WP-Search-Everything, but I think it doesn’t matter since the problem was there even before installing the plugin.
Thank you for your help.
The topic ‘Search doesn’t show one custom field value’ is closed to new replies.