• Resolved Deutscher

    (@deutscher)


    Dear Benjamin,

    I’m using Azul Silver theme. Thank you very much for you create it!

    I have a problem with “Search” option. When I search something, I get this error :

    Fatal error: Call to undefined function azu_lsilver_metadata_posted_on_setup() in ..... /wp-content/themes/azul-silver/content-search.php on line 4

    What’s the problem? Could you please help me?
    Regards

Viewing 15 replies - 1 through 15 (of 15 total)
  • im doing an update right now give me a sec

    i just uploaded a new version, please wait for an 30 minutes to an hour for it populates

    the problem was that it was missed spell azu_lsilver_metadata_posted_on_setup(), it was supposed to be azul_silver_metadata_posted_on_setup()

    Thread Starter Deutscher

    (@deutscher)

    Dear Benjamin,

    I have just updated the theme to 0.2.8 version, but problem is still continuing. I get the same error?

    Regards

    ==========================
    EDIT
    ==========================
    I have just understood what you mean ??
    I corrected mistyping in “content-search.php” and it’s ok now!

    Is it possible to highlight the search results?

    Regards

    Ok, i found it, let me fixed it and i’ll upload a new one version with the fix.

    open content-search.php file and find a
    azu_lsilver_metadata_posted_on_setup() then replace it with azul_silver_metadata_posted_on_setup()

    Thread Starter Deutscher

    (@deutscher)

    Dear Benjamin,

    I have just understood what you mean ??
    I found and corrected mistyping in “content-search.php” and it’s ok now! ??

    (Thanks to octamediator, too ?? )

    Is it possible to highlight the search results?

    Regards

    new version is out in like few minutes to 10 minutes, please do the update and let me know so i can closed this ticket as well :0)

    to be able to highlight results, i haven’t got that far yet so maybe i can do that whenever i can.

    Thread Starter Deutscher

    (@deutscher)

    Thank you dear Benjamin!

    I have one more question related with this topic :

    I don’t want Search Results page -with sidebar-. I want Search Results page “No Sidebar” (full width). How can I do that? I looked at search.php file but I coundn’t find the solution. Could you please help me?

    Regards.

    under search.php, you can just remove the <?php get_sidebar(); ?> and then under content-search.php, change site-content to site-full-content then u should have full content. I’ll make that change, i realized i need to remove tht sidebar anyays..

    i’l do tht this during the weekend.

    Thread Starter Deutscher

    (@deutscher)

    Under search.php, there is no <?php get_sidebar(); ?>

    This is the search.php

    <?php get_header(); ?>
        <?php if (have_posts()) : ?>
    		<div class="content-search">
    			<h2><?php printf( __( 'Search Results for: %s', 'azul-silver' ), '<span>' . get_search_query() . '</span>' ); ?></h2>
    		</div>
            <?php while(have_posts()) : the_post(); ?>
                <?php get_template_part('template-parts/content', 'search'); ?>
        <?php endwhile; ?>
        <?php else : ?>
                <?php get_template_part('template-parts/content', 'none'); ?>
        <?php endif; ?>
    <?php get_footer(); ?>

    Sorry, is under content-search.php, there’s a sidebar function at the bottom and change the site-content to site-full-content

    published a new version!

    Thread Starter Deutscher

    (@deutscher)

    Dear Benjamin, thank you for update!

    What should I do, to show a POST PAGE without sidebar? I want to show post pages with “No Sidebar”.

    Thanks again and best regards..

    hey same process, content.php and content-single.php if is not here then is in index.php and single.php. are you using a child theme and this theme as parent theme. i think that’s the best way to do it if i make changes to the azul silver, your effects may change as well. i would recommended doing this.

    https://codex.www.ads-software.com/Child_Themes

    can u give me a feedback if u can.

    you can contact me through twitter or facebook if u need help.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘I get an error with SEARCH option’ is closed to new replies.