Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

amybryde on "Modify search results page to table - code for loop?"

$
0
0

The search results page looks horrible and I would like to modify to present a table since the search will mostly be used as a parts search. All inventory has been divided up into categories with 1 category being our Master Inventory list. Unfortunately, since the files are so large, I had to use the "Embed a document" plugin to create most of the pages of inventory.

After must research, I have found that I need to modify the look within the search.php file. My problem is that I am unsure what code to use to have it display correctly as a 6 column table (Part Number, NSN, Alt. P/N, description, condition and quantity) showing only the part number information searched. The data would have to be pulled from the data created from the "Embed a document" plugin. I am simply at a loss of how to create the needed loop to display this correctly so that just the part number search shows up instead of the whole long list of inventory.

As an example, try searching "50-8792-3"

The website is http://www.calportaviation.com.

Any help with the coding would be much appreciated!

Thank you!


Viewing all articles
Browse latest Browse all 8245

Trending Articles