Support » Theme: Tiny Framework » Search Icon in Primary Menu

  • Resolved a1vme


    Hello. I’m using the Tiny Framework theme for a WordPress service hosted on They allow me to choose the parent Tiny Framework theme, but they don’t allow child themes.

    Question: Is there any way to add the search box (like there is on the child themes) to the primary menu if you can’t use a child theme?

    Thanks in advance,
    Adit Sood

    • This topic was modified 2 years, 5 months ago by a1vme.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Tomas Mackevicius


    I think you can. You need to add a function. For the function you could use this plugin:

    and add function:

    function tinyframeworkchild_add_search_to_wp_menu ( $items, $args ) {
    	if( 'primary' === $args -> theme_location ) {
    	$items .= '<li class="menu-item menu-item-search">' . get_search_form(false) . '</li>';
    	return $items;
    add_filter( 'wp_nav_menu_items','tinyframeworkchild_add_search_to_wp_menu',10,2 );

    Thank-you Tomas. I will find out from the hosting provider if one of their approved plugins supports php customization. (I expect they won’t. They have a very limited set of approved plugins. If you can, can you suggest a good WordPress host which supports most functionality at a reasonable cost?)


    Theme Author Tomas Mackevicius


    Personally for my projects I’m using KnownHost for VPS hosting and BigScoots for simple shared accounts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search Icon in Primary Menu’ is closed to new replies.