Viewing 30 results - 14,701 through 14,730 (of 23,472 total)
  • Author
    Search Results
  • #624565

    Hi Josue,

    I have posted our English functions.php file below. This is working correctly so it is just the Spanish site that has the problem.

    <?php // Opening PHP tag - nothing should be before this, not even whitespace
    
    // Custom Function to Include
    function favicon_link() {
        echo '<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />' . "\n";
    }
    add_action( 'wp_head', 'favicon_link' );
    
    add_filter('avf_which_archive_output','avf_change_which_archive', 10, 3);
    function avf_change_which_archive($output)
    {
    	if(is_category())
    	{
    		$output = __('','avia_framework').' '.single_cat_title('',false);
    	}
    
    	return $output;
    }
    
    add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 );
    
    function avia_append_search_nav ( $items, $args )
    	{	
    		if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items;
    	
    	    if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu"))
    	    {
    	        global $avia_config;
    	        ob_start();
    			$getform = get_search_form(false);
    
    	        $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown">'.$getform.'</li>';
    	    }
    	    return $items;
    	}
    
    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
        if ( $args['title'] == 'Blog - Latest News' )
        {
            $args['title'] = get_the_title($id);
            $args['link'] = get_permalink($id);
            $args['heading'] = 'h1';
        }
    
        return $args;
    }
    
    add_action('wp_head' , 'remove_post_list_title_links');
    function remove_post_list_title_links() {
    	?>
    	<script id="remove-links-in-title" type="text/javascript">
    		jQuery(document).ready(function($) {
    			$('.entry-title').each(function() {
    				var $title_link = $('a[rel="bookmark"]' , $(this)),
    					$title_text = $title_link.text();
    				$title_link.remove();
    				$(this).prepend($title_text);
    			});
    		});
    	</script>
    	<?php
    }
    
    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
    function bbp_tinymce_paste_plain_text( $plugins = array() ) {
     	$plugins[] = 'paste';
        return $plugins;
    }
    add_filter( 'bbp_get_tiny_mce_plugins', 'bbp_tinymce_paste_plain_text' );
    
    add_action ('bbp_template_before_forums_index' , 'my_intro' ) ;
    Function my_intro () {
    Echo '<div class="entry-content">Welcome to the ACEDS Forum. Please take time to review our terms of use before posting on the forum. Thank you for helping make this community!</div>' ;
    }
    #624554
    DougMcKerson
    Participant

    Hi there,

    Is there a way to enable shortcodes for Enfold search results pages?

    I currently use shortcodes in the excerpt text of posts which outputs correctly on all other index, category, tag pages. But on search results pages it returns the code.

    I have already edited the loop-search.php file to contain $excerpt = do_shortcodes( get_the_content() ); But this has had no effect.

    Thank you for your help.

    Hi,

    I guess it might be because is a premium theme that comes bundled with 2 plugins: the layerslider and our own template builder. Those 2 extra plugins along with your existing plugins are maybe too much for the server and require too much memory.

    A more basic theme with less options might be just enough to no longer stress your server with memory issues. So in the end you probably got an additional option.

    You can either search for less resource hungry plugins, a less resource hungry theme or just increase the memory limit of your site. either of these should work

    Best regards,
    Kriesi

    Hi!

    Add this in the functions.php file:

    // auto trigger
    add_action('wp_footer', 'ava_custom_script');
    function ava_custom_script() {
    ?>
    		<script>
            (function($){
                function getQueryParams(qs) {
    			    qs = qs.split("+").join(" ");
    			    var params = {},
    			        tokens,
    			        re = /[?&]?([^=]+)=([^&]*)/g;
    
    			    while (tokens = re.exec(qs)) {
    			        params[decodeURIComponent(tokens[1])]
    			            = decodeURIComponent(tokens[2]);
    			    }
    
    			    return params;
    			}
    
    			var $_GET = getQueryParams(document.location.search);
    
                $(window).load(function() {
                    switch($_GET['msort']) {
                        case 'engineering':
                            $('.engineering_sort_button').trigger('click');
                            break;
                        case 'marketing':
                            $('.marketing_sort_button').trigger('click');
                            break;
                        case 'operations':
                            $('.operations_sort_button').trigger('click');
                            break;
                        case 'sales':
                            $('.sales_sort_button').trigger('click');
                            break;
                    }
                });
            })(jQuery);
            </script>
    <?php
    }

    The icon link should look like this:

    http://mysite.com/linktopage/?msort=engineering
    

    You should add the “msort” query string plus the name of the category as value.

    Best regards,
    Ismael

    #624362

    Hi,

    you would need to search a plugin for such function.

    Best regards,
    Andy

    #624299

    This was actually a solution to my problem as well! I just deactivated the ‘mobile theme’ from Jetpack and now everything is working as it should be :)

    For those of you who don’t know what you need to do here are the steps:

    Jetpack > Settings
    In the ‘Search Modules’ bar, type ‘Mobile’
    Find ‘Mobile Theme’ and click on Deactivate

    This solved my problem as stated above!

    #624257
    Jasmer
    Participant

    Hey guys,

    I’d like to move the “Search” text in the search field to the right a bit to match the “Email Address” text positioning below it.

    Thank you!

    Jas

    #624155

    Thanks Jordan – the search icon is a little too far to the right now – how can I get it to align with the logo?

    #624086

    In reply to: Opening hours (table)

    Hey Andreas,

    I am afraid that creating a highlighted table is not really possible sorry with the theme. You could of course create a simple table with a shortcode but I am not sure if thats what you want.

    I also did a quick google search and found a few business hour plugins like this which might be sufficient for the task…

    Best regards,
    Kriesi

    #624069

    Topic: Opening hours (table)

    in forum Enfold
    andreasobermeier
    Participant

    Hey there Kriesi Team,

    I’ve got another question.

    Is it (yet) possible to create a table with opening hours where the current day is marked as active (so for example displayed bold)?

    Or is there any other solution?

    I am managing a restaurant site and therfor I would like to ease the search for my users e.g. how long the restaurant is opened today.

    Thank you very much in advance!

    Best wishes,

    Andreas

    #623987

    Hi bitojoe!

    you can style the page, through editing search.php file and doing some CSS changes.
    if you want more info, u will have to let us know for which part you are refering!

    Cheers!
    Basilis

    #623955
    bitojoe
    Participant

    Hello, I’m curious if you are able to customize the look of the default wordpress search page. If that means making changes to the search page .php file with enfold shortcodes, then so be it. I guess my question is, how would Kriesi make this change?

    #623954

    Thanks for checking in. Figured out a solution — In WPML, I turned off the Browser language redirect. How this might be affecting search results, I’m not sure, but I did see someone else experience a similar problem in their support forums.

    #623882

    Hey!

    Thanks for getting in touch with us! Very sorry for the delay.

    Glad to hear you found the culprit to your issue! You can try other translation plugins such as Polylang. You can also search for others that may work even better for you.

    Best regards,
    Jordan

    #623570

    If you search the Enfold support forum, it is littered with customers with the same problem. I wonder whether it would be worth Kriesi talking to Godaddy directly. I think the Enfold is fantastic…but this problem is really bad news. There seems to be so many different responses and courses of action to take, i don’t know where I am. I’m not a hardcore programmer…that’s why I use Enfold. That means I need a very clear ‘how to guide’ on how to fix this!

    #623562

    In reply to: Font Manager error

    Hey!

    That was the admin or dashboard login details. We can’t access the wp-content folder with that. If you want to delete the entry via database, look for the _options table then search for the “avia_builder_fonts” option_name.

    a:2:{s:3:"entry1";a:3:{s:7:"include";s:14:"avia_fonts/entry1";s:6:"folder";s:14:"avia_fonts/entry1";s:6:"config";s:11:"charmap.php";}s:6:"entry2";a:3:{s:7:"include";s:17:"avia_fonts/entry2";s:6:"folder";s:17:"avia_fonts/entry2";s:6:"config";s:11:"charmap.php";}}
    

    .. We have entry1 and entry2. After removing the “entry2”, the option_value should look like this:

    a:1:{s:3:"entry1";a:3:{s:7:"include";s:14:"avia_fonts/entry1";s:6:"folder";s:14:"avia_fonts/entry1";s:6:"config";s:11:"charmap.php";}}
    

    Cheers!
    Ismael

    #623505
    Jason E
    Participant

    Good day,

    I would like to remove the circle around some icons within a page. Bonus points for removing the animation as well. In many cases both animations and the borders are a great benefit, but for this application, it just adds complexity where it is not needed. I have tried various techniques I found while searching through the support site, but none have been effective so far. I am removing those, so it is cleaner code to inspect.

    I have added a class to the icons “actionbar-icons”, so I can grab multiple, so if we can attach to that, it would be great.

    #623503

    Hey!

    You can disable the theme’s product sort option and enable the default woocommerce sorting dropdown. Add this in the functions.php file:

    add_action( 'after_setup_theme', 'after_setup_theme_mod' );
    function after_setup_theme_mod(){
    	//add_filter('avf_builder_elements', 'avf_builder_elements_mod');
        remove_action( 'woocommerce_before_shop_loop', 'avia_woocommerce_frontend_search_params', 20);
        add_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 ); /*remove woocommerce ordering dropdown*/
    }

    And the following code in the Quick CSS field:

    #top .woocommerce-ordering {
        position: relative;
        right: 0;
        margin: 0;
        z-index: 20;
        top: 50%;
        margin-top: -23px;
        width: 100%;
        min-width: 200px;
        margin-bottom: 20px;
    }

    I’m not sure if this is going to fix the issue with the plugin but the code should bring back the default woocommerce dropdown.

    Regards,
    Ismael

    #623451
    Relaxandlisten
    Participant

    Hello. It looks like there’s a bug with my Enfold theme. The search icon appears as a square and the mobile menu is messed up.

    I would like to know how to remove the menu below the main content on my homepage too. Thank you.

    Twitter
    Subscribe
    to RSS Feed
    PAGES
    CATEGORIES

    #623430

    Hi Elliott — I would actually prefer to ALWAYS use the custom excerpt on all areas. Search, Archives, Home Pages etc….

    SK
    Participant

    Site: http://geekrumor.com vs. https://geekrumor.com

    When flipping the site to HTTPS, the following icons are gone:

    Social icons top and bottom of page
    Search Box bottom icon bottom of page
    Scroll to Top Arrow bottom of page

    Wondering if anyone else has ran into this and if there is a simple fix.

    • This topic was modified 9 years, 3 months ago by SK.
    #623403
    prayaga
    Participant

    I’m not sure when this problem cropped up, but my search results are yielding no results. I have WPML installed, so when I switch to my secondary language, I do get all the search results.

    The ajax search works, but the search page itself is broken. Installing Relevanssi has no effect.

    • This topic was modified 9 years, 3 months ago by prayaga.
    #623365
    MacMyDays
    Participant

    Searched and tried to make the spacing between category links/items from a custom menu using the Enfold Custom Menu Widget. I’d like to make the spacing a bit more like the spacing on the Enfold Recent Comments Widget.

    I tried this but it didn’t do anything.

    .widget_nav_menu .menu-item {
    	padding: 0 !important;
    	margin: 0 !important;
    }
    #623320
    Jooster
    Participant

    Hi, I have probably a very simple quesiton but my images blur on a smartphone. For moderators link is enclosed in private area. I have the following plugins activated:
    Hallo Dolly

    iThemes Security

    Link Checker

    MailPoet Newsletters

    Sitelinks Search Box

    Social Media Widget

    Wordfence Security

    WordPress Importeerder

    WP Review

    WP Social SEO Booster

    WP-DBManager

    WP-Optimize

    Yoast SEO

    Akismet

    All in one Favicon

    AMP

    Calculated Fields Form

    CloudFlare

    Contact Form DB

    Dupliceren

    EWWW Image Optimizer

    Floating Social Media Icon
    .
    Google Tag Manager for WordPress

    Google XML Sitemaps

    #623211
    1e
    Participant

    Hi currently the search page showing all the results but it displaying posts (portfolio, other post types) result first then the page result so i want to display the wordpress page that contain the search keyword result first then the posts that contain search keyword.

    jambrikp
    Participant

    Hi,

    I think its not important, but do you have any new information about this error message?

    I read these old posts:
    https://kriesi.at/support/search/avia_table_js/?avia_filter_search=yes&avia_search_forums=all&avia_search_dates=all&avia_search_include=no
    https://kriesi.at/support/topic/broken-dependencies-error-in-avia_table_js-avia_tab_toggle_js-avia_media_js/

    Its visible only on wp admin page on frontend everything is okay.
    I used this plugin: https://hu.wordpress.org/plugins/query-monitor/

    Kind regerds,
    Peter

    #623087

    Hey!

    Please refer to my post here – https://kriesi.at/support/topic/search-icon-on-mobile-devices/#post-589759 and skip the last part. That would make it visible only on mobile

    Best regards,
    Yigit

    #622874
    charlotteraboff
    Participant

    Hey,

    I want to change the font in the Hotel Search button to Oswald
    http://www.idtraveller.com
    What code shall I add?

    Thanks
    Charlotte
    Search button

    #622872

    Topic: Site name issue

    in forum Enfold
    Real-3D
    Participant

    Hi!

    I’m using enfold-child theme, and i need to change the name of my website in the Google Searchbox.

    In Google Searchbox is shown my website name and a “|” that i want to cancel.
    In this case, now: “Site name | ”
    And I want to be shown simply: “Site name”

    How can I do?

    Thanks for the support

    #622841

    Hi Andy,

    Unfortunately I can’t provide login access to the admin panel of our site but I have listed the functions.php code that exists on the site today.

    I could do a screenshare with you if you have some time available. I left my contact info in the pm section as well.

    Thanks for your help.

    Functions.php file

    <?php // Opening PHP tag - nothing should be before this, not even whitespace
    
    // Custom Function to Include
    function favicon_link() {
        echo '<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />' . "\n";
    }
    add_action( 'wp_head', 'favicon_link' );
    
    add_filter('avf_which_archive_output','avf_change_which_archive', 10, 3);
    function avf_change_which_archive($output)
    {
    	if(is_category())
    	{
    		$output = __('','avia_framework').' '.single_cat_title('',false);
    	}
    
    	return $output;
    }
    
    add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 );
    
    function avia_append_search_nav ( $items, $args )
    	{	
    		if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items;
    	
    	    if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu"))
    	    {
    	        global $avia_config;
    	        ob_start();
    			$getform = get_search_form(false);
    
    	        $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown">'.$getform.'</li>';
    	    }
    	    return $items;
    	}
    
    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
        if ( $args['title'] == 'Blog - Latest News' )
        {
            $args['title'] = get_the_title($id);
            $args['link'] = get_permalink($id);
            $args['heading'] = 'h1';
        }
    
        return $args;
    }
    
    add_action('wp_head' , 'remove_post_list_title_links');
    function remove_post_list_title_links() {
    	?>
    	<script id="remove-links-in-title" type="text/javascript">
    		jQuery(document).ready(function($) {
    			$('.entry-title').each(function() {
    				var $title_link = $('a[rel="bookmark"]' , $(this)),
    					$title_text = $title_link.text();
    				$title_link.remove();
    				$(this).prepend($title_text);
    			});
    		});
    	</script>
    	<?php
    }
    
    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
    function bbp_tinymce_paste_plain_text( $plugins = array() ) {
     	$plugins[] = 'paste';
        return $plugins;
    }
    add_filter( 'bbp_get_tiny_mce_plugins', 'bbp_tinymce_paste_plain_text' );
    
    add_action ('bbp_template_before_forums_index' , 'my_intro' ) ;
    Function my_intro () {
    Echo '<div class="entry-content">Welcome to the ACEDS Forum. Please take time to review our terms of use before posting on the forum. Thank you for helping make this community!</div>' ;
    }
Viewing 30 results - 14,701 through 14,730 (of 23,472 total)