Forum Replies Created
-
AuthorPosts
-
how did you use the vimeo videos in your Enfold – via ALB Media Video or did you embed it as a background video?
What code did you use – the short one or that one from the “iframe-link” ?thanks can be closed
new solution above . Only for functions.php child-theme nothing to copy or replace.
-
This reply was modified 7 years, 8 months ago by
Guenni007.
checked here: https://webers-testseite.de/8-columns/
by the way – here we can also set start and end time as well:
i had to make two functions of it because the one must load before helper datepicker starts:
and think of the month without leading zero !
function exclude_datepicker_dates() { ?> <script type="text/javascript"> var unavailableDates = ["17/12/2017", "12/12/2017", "18/6/2017"]; function unavailable(date) { dmy = date.getDate() + "/" + (date.getMonth() + 1) + "/" + date.getFullYear(); if (jQuery.inArray(dmy, unavailableDates) == -1) { return [true, ""]; } else { return [false, "", "Unavailable"]; } } </script> <?php } add_action('wp_footer', 'exclude_datepicker_dates', 10); function my_datepicker_defaults() { ?> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery.datepicker.setDefaults({ beforeShowDay: unavailable, minDate: 0, maxDate: "+12m" }); }); </script> <?php } add_action('wp_footer', 'my_datepicker_defaults', 20);
.ui-datepicker td[title="Unavailable"] { background: rgba(120, 255, 180, 0.3); }
on my Enfold the date is set to DD/MM/YY why can we use here the date in that form: 2017-06-18
you see the excluded days in the form day/month/year – month without a leading Zero
see solution down under :lol:
-
This reply was modified 7 years, 8 months ago by
Guenni007.
why is in your wp-config.php such an entry? These settings were normaly made via Dashboard – Settings – General !
And didn’t i ask if you are using a cdn? – Nevermind – nice that you got it.hm i thought if you are navigating to features it might be ok if there is in the url features (even from seo aspect)
if you like to – it is only interest – and maybe a silly little thing to correct
you do not need to check it on each slide.
if there is already a choice go and press on 2D deselect all – goto 3D press on deselect all than apply to others!
now goto one slide make your choice and press apply to others – ok and don’t forget to save the layersliderplease tell us how if it was a fix with common interest. Maybe we got the problem once too.
on stackoverflow: https://stackoverflow.com/questions/1653308/access-control-allow-origin-multiple-origin-domains
from the security point of view this might be the better method – because only your domains are allowed to access cross-site content
if you only have the one url i would try this:
<FilesMatch "\.(ttf|otf|eot|woff|woff2|sfnt|svg)$"> <IfModule mod_headers.c> SetEnvIf Origin "^http(s)?://(www\.)?(yinyangbangers.com)$" AccessControlAllowOrigin=$0 Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin Header set Access-Control-Allow-Credentials true </IfModule> </FilesMatch>
if you will see a white page – you can allways get rid of that entry and try different options.
maybe ( you now best your domains ) try this instead of wildcard asterix in htaccess:
<IfModule mod_headers.c> SetEnvIf Origin "http(s)?://(www\.)?(domain1.org|domain2.com)$" AccessControlAllowOrigin=$0$1 Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin Header set Access-Control-Allow-Credentials true </IfModule>
if only for font :
<FilesMatch "\.(ttf|otf|woff)$"> <IfModule mod_headers.c> SetEnvIf Origin "http(s)?://(www\.)?(domain1.org|domain2.com)$" AccessControlAllowOrigin=$0$1 Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin Header set Access-Control-Allow-Credentials true </IfModule> </FilesMatch>
some people which are behind only https tells that the code must be edited a bit to:
<FilesMatch "\.(ttf|otf|woff)$"> <IfModule mod_headers.c> SetEnvIf Origin "^http(s)?://(www\.)?(domain1.org|domain2.com)$" AccessControlAllowOrigin=$0 Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin Header set Access-Control-Allow-Credentials true </IfModule> </FilesMatch>
i think php 5.4 is too old!
“I tried inserting various types of refferers maybe they are wrong? Thanks in advance”
what form do they have.i have had never problems with that – if on google site the wildcard is placed right.
so if there is in the list : *mywebsite.com/* in most of the cases it works perfect – only sometimes i have to verify the url on google webmaster tools
PS : the thing with entering the last asterix on google is that it has to be followed by a space – otherwise the last asterix is lost
PPS: or do you have installed any other map-plugins
-
This reply was modified 7 years, 8 months ago by
Guenni007.
you mean if you show them on your site – but not to show them on google search?
i don’t know what this plugin does.
If i like to have the chance to choose the orderby option on galleries and masonries i put in functions.php of the child theme the following snippet:
http://kriesi.at/documentation/enfold/how-to-add-an-orderorderby-option-to-the-blogpost-sliderportfoliomasonry-grid-element/if(!function_exists('avia_custom_query_extension')) { function avia_custom_query_extension($query, $params) { global $avia_config; if(!empty($avia_config['avia_custom_query_options']['order'])) { $query['order'] = $avia_config['avia_custom_query_options']['order']; } if(!empty($avia_config['avia_custom_query_options']['orderby'])) { $query['orderby'] = $avia_config['avia_custom_query_options']['orderby']; } unset($avia_config['avia_custom_query_options']); return $query; } add_filter('avia_masonry_entries_query', 'avia_custom_query_extension', 10, 2); add_filter('avia_post_grid_query', 'avia_custom_query_extension', 10, 2); add_filter('avia_post_slide_query', 'avia_custom_query_extension', 10, 2); add_filter('avia_blog_post_query', 'avia_custom_query_extension', 10, 2); add_filter('avf_magazine_entries_query', 'avia_custom_query_extension', 10, 2); add_filter('avf_template_builder_shortcode_elements','avia_custom_query_options', 10, 1); function avia_custom_query_options($elements) { $allowed_elements = array('av_blog','av_masonry_entries','av_postslider','av_portfolio','av_magazine'); if(isset($_POST['params']['allowed']) && in_array($_POST['params']['allowed'], $allowed_elements)) { $elements[] = array( "name" => __("Custom Query Orderby",'avia_framework' ), "desc" => __("Set a custom query orderby value",'avia_framework' ), "id" => "orderby", "type" => "select", "std" => "", "subtype" => array( __('Default Order', 'avia_framework' ) =>'', __('Title', 'avia_framework' ) =>'title', __('Random', 'avia_framework' ) =>'rand', __('Date', 'avia_framework' ) =>'date', __('Author', 'avia_framework' ) =>'author', __('Name (Post Slug)', 'avia_framework' ) =>'name', __('Modified', 'avia_framework' ) =>'modified', __('Comment Count', 'avia_framework' ) =>'comment_count', __('Page Order', 'avia_framework' ) =>'menu_order') ); $elements[] = array( "name" => __("Custom Query Order",'avia_framework' ), "desc" => __("Set a custom query order",'avia_framework' ), "id" => "order", "type" => "select", "std" => "", "subtype" => array( __('Default Order', 'avia_framework' ) =>'', __('Ascending Order', 'avia_framework' ) =>'ASC', __('Descending Order', 'avia_framework' ) =>'DESC')); } return $elements; } add_filter('avf_template_builder_shortcode_meta', 'avia_custom_query_add_query_params_to_config', 10, 4); function avia_custom_query_add_query_params_to_config($meta, $atts, $content, $shortcodename) { global $avia_config; if(empty($avia_config['avia_custom_query_options'])) $avia_config['avia_custom_query_options'] = array(); if(!empty($atts['order'])) { $avia_config['avia_custom_query_options']['order'] = $atts['order']; } if(!empty($atts['orderby'])) { $avia_config['avia_custom_query_options']['orderby'] = $atts['orderby']; } return $meta; } }
go to layerslider – select your slider. Normaly it opens on slide1 – on the right side of that window there is a button : “select transitions”
press that button. on the new window you can select all or on hovering – you can see a preview of the transition. Select those you like to have.
Now there is the opportunity to apply these transition to others (slides).can you make an image of your advanced layout builder setting of that page ?
and of menu linkWhat do you mean by : I changed my host
you are still behind an apache server?are you now using a cdn?
well – this is a colorsection – set up his ID to features by opening the colorsection element – scroll down – there is a field for “For Developers: Section ID”
sorry i do not see the link as a participant as you
on that menu link ? Your site is a https site – did you insert on that menu link the absolute Path with https ?
well on my page (see above example page) i did it in your way – with a code block and i typed in with keyboard
<div id="connect2"></div>
a custom link than to the menu (on my case): https://webers-testseite.de/8-columns/#connect2 thats all. (Even if i mark Deactivate schema.org markup for a clearer code it works.So there had to be some inconsitances on your installation.
Can you show me your link ? or has it to be secret.you told us that your site is a one page landing page. If the anchors are on that page it has to scroll. But if you are jumping from a different page to the anchor it never scrolls in this way.
What you like is a loading of the anchor page to the top and than in a time shift scrolling to the anchor.
Maybe this could be realised by a timecodes redirect – but will it be good webpractice?A javascript solution is the only thing for me that could work
-
This reply was modified 7 years, 8 months ago by
Guenni007.
yes you are right – if you choose in enfold options logo centered the opportunity to have Menu as icon is gone.
So choose Logo left menu right and then goto quick css and paste in:
.responsive #top .logo { width: 100% !important } .logo img { margin: 0 auto }
for smaller screens it is better to have it left ? ! If not feel free to make some media query settings
hi nikko – he wants a shadow under the menu.
The question is to what – to the ul or to the text of a menu-point – to the active listpoint? etc.
what kind of menu did you choose (with separator, without etc.)2nd: On SEO case – can you show us a link to your site?
-
This reply was modified 7 years, 8 months ago by
Guenni007.
and furthermore your quotationmarks are (maybe it is converted by boardsoft) not the normal one (or maybe pasted from word?) – i copy pasted your container-lines above and it does not work. Then i write it with my keyboard myself – and it works:
see here: https://webers-testseite.de/8-columns/
and by the way – there has to be something under the anchor – that it has the chance to scroll to top
It refreshes the page and the page URL is below in private data.
AND when I did this > I Turn on Custom CSS Class field for all ALB Elements and entered connect In the Custom CSS Class Field
http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ It does not refresh and arrive at the correct page location.This works on other sites. Not this one.
And here is the beef : For what do you need that extra class? you only need the ID – no class on menu point is needed.
in your menu you have to insert a custom Link
in url : https://mysite.com/#connect (allways take the absolute path)
in Link Text: what you wantthats all
Hey Basilis – gratitude is not the reason why i’m doing that. But I expect an answer if an approach leads to a solution of the request or not. Because i do often look back if there is success on that thread, and if any help is needed furthermore. This means investing time to it. Thats all.
-
This reply was modified 7 years, 8 months ago by
-
AuthorPosts