Elgg search bar on wordpress site


I'm m setting up a wordpress site that is in two pieces really.

A wordpress site and then an elgg site that is the socal component. What I'm trying to figure out is whether there is a way to embed the search bar function on the wordpress site. 

Is there a plugin I haven't found yet, is there a way of doing it with something like an iframe maybe? 

This could be really useful for people trying to build a site that only uses elgg for the social stuff. 

Thanks alot hope someone can help out :-) 

  • I don't know about the search bar, but here's some info on how to embed the tobpar in WP:


    Instead of calling the topbar, you could try calling the search bar


    echo elgg_view('page_elements/search');

    Rodolfo Hernandez

    Arvixe/Elgg Community Liaison



  • goto your wp install's theme folder (assuming that you are
    using a theme in your wp that defines the wp search area).
    then, find this code :-
        <form method="get" id="searchform" action="<!--?php echo esc_url( home_url( '/' ) ); ?-->">
    after that add code something like this :-
        include    "/engine/start.php"
    then code to include this for the elgg search box -->
    you will then need to handle all the differences in the iu 
    because of the different theming style..


Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking