Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Search


  #1  
Old May 23, 2012, 07:24 AM
gnosis
 
173 posts · May 2010
[SOLVED] Search

The site search works differently between my development site and my production site and was wondering if it had to do with theme or wordpress core settings.

On my development site, i get a list of results that have hyperlins back to the page.
On my production site, i do not get hyperlinks.

I have attached two screenshots of both results pages.
Attached Thumbnails
Click image for larger version

Name:	production.jpg
Views:	882
Size:	110.2 KB
ID:	1882  Click image for larger version

Name:	dev.jpg
Views:	883
Size:	127.9 KB
ID:	1883  
  #2  
Old May 24, 2012, 09:22 AM
gnosis
 
173 posts · May 2010
Spent the morning, merging dev vs. live/production sites and other than a few htacess IP differences the directories and files within are identical. So, must be a setting.
  #3  
Old May 24, 2012, 02:04 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what happens if you swap to twenty-eleven?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old May 24, 2012, 02:06 PM
gnosis
 
173 posts · May 2010
Will check tomorrow when site is less busy. Thanks.
  #5  
Old May 25, 2012, 05:52 AM
gnosis
 
173 posts · May 2010
Search is presented correctly in twenty-eleven.

Attached searchform.php

Also, here are the changes i have made to the theme (exist on dev (where search results work) and live servers):

To make Logo Linkable to External URL in bfa_header_config.php add:
if ( $bfa_ata['logo'] != "" ) { echo '<td ' . $header_rowspan . 'valign="middle"><a href="http://www.mysite.edu"><img src="';

To make tagline clickable in functions.php add:
<?php function blog_filter($string, $show) { if ( $show == "description" ) {$string = str_replace('CUNY Graduate Center', '<a href="http://www.mysite.edu/">MY Site</a>', $string);} return $string; } add_filter('bloginfo', 'blog_filter', 10, 2 ); ?>


Modify footer in functions.php:
$footer_content .= '<br /><a href="http://www.mysite.edu">Contact Us</a>: 666 Fifth Avenue, New York, NY | Circulation: (212) 977-7083| Reference: (212) 977-7077 | <a href="http://www.mysite.edu">Email</a> <br/> </p> </a>'; return $footer_content; }


Refresh RSS News in functions.php:
add_filter( 'wp_feed_cache_transient_lifetime', create_function('$fixrss', 'return 1800;') );

Disable Flash Media Uploader in functions.php:
<? function disable_flash_uploader() { return false;} add_filter( 'flash_uploader', 'disable_flash_uploader', 1 ); ?>

Add Breadcrumbs to Pages in index.php:
<?php if ( function_exists('yoast_breadcrumb') ) {yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>
Attached Files
File Type: txt searchform.txt (591 Bytes, 978 views)
  #6  
Old May 25, 2012, 07:56 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If it works in one site and not the other, then it is a difference between the two.

I just tested the search on a vanila atahualpa site and I get the links back, so it must be something you have done. One of the changes, some plugin or combination of plugins.

Here is an idea, take a look at this thread and install a fresh copy of the same version of atahualpa and test with that one. If it works, you will know it is one of the changes you made.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
search results



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to: Replace search bar with google search bar frugalmommytoday Header configuration & styling 14 May 19, 2011 11:23 AM
Search Button with Search Box in header True Header configuration & styling 4 Aug 2, 2010 03:50 PM
Search facility does not search text within embedded HTML using iframe cdgeorge Header configuration & styling 0 Oct 26, 2009 05:33 AM
How can I make the search wigget search in pages? aquilaciencia Plugins & Atahualpa 3 Aug 17, 2009 09:21 AM


All times are GMT -6. The time now is 01:55 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.