[SOLVED] How to control display of search results? Part 2
Hello,
I have the exact same question and would like the same result as to not have the "post-byline" and "post-footer" show up in search results. Based on the thread: http://forum.bytesforall.com/showthread.php?t=610 I tried following the steps but maybe in Atahualpa 3.5.3, the coding might have changed, I don't know, because I can't find what Flynn was talking about. What I see for the index.php file is this: Code:
<?php /* get all options: */ How do I apply what he has mentioned earlier in thread: http://forum.bytesforall.com/showthread.php?t=610 and modify the code so that search results will have no "post-byline" and "post-footer" the closest I got was this but I only can get 1 search result and not all search results: Code:
<?php /* get all options: */ Any input would be great, thank you |
Yes things have changed and now it is easier. You can go to ato->Style & editCENTER COLUMN->The LOOP and put an 'if (!is_search() ) {..........}' around the sections you don't want to show up. The '!' is an NOT.
|
Hi again, ok I'm real slow at this... but please show where would you input it since I want the "post-byline" and the "post-footer" to disappear only when a search is being done. Here's what I have in my LOOP:
Code:
<?php /* For SINGLE post pages if activated at ATO -> Next/Previous Navigation: */ Much appreciated:) |
hi again juggledad,
You seem to be always helping me, I'll be offering a donation for your time. By the way, I figured it out anyway and am posting the code here in case anybody else is interested to know: This is how to get rid of the "post-byline" and the "post-footer" details if you don't want it to show up on your search results page with Atahualpa 3.5.3. Thanks to juggledad for supplying the solution: Code:
<?php /* For SINGLE post pages if activated at ATO -> Next/Previous Navigation: */ |
All times are GMT -6. The time now is 11:25 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.