Forum Replies Created
-
AuthorPosts
-
Have you any link for us? Is it a selfhosted Video – or a Youtube ( Vimeo etc. pp.) one?
and by the way if you have only the url of the video ( like on selfhosted one ) try it with
?iframe=true
i guess it is always the case if there are more than one parameter added ( like on most youtube videos ) the first added Parameter got the questionmark “
?
” and all the others come with ampersand “&
“First of all – this is no parallax effect. The image on top is in fixed positioning.
There was a first color-section with the background-image.
The next color-section has on top a 1/1 column with an img ALB (centered) – that img is a png file with transparent background.
The 1/1 column can be set with negative Margin – so edit that column see on first tab : Custom top and bottom margin
Mark that Checkbox and give it a negative Margin:
(click to enlarge the image)
Not for that – your welcome
Aha here is the solution – and it comes to functions.php of your child-theme
thanks to Dudeadd_action('init', 'avia_remove_search_for_logged_out_users', 10); function avia_remove_search_for_logged_out_users(){ if(! is_user_logged_in()){ remove_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 ); } }
well there is an if clause that could fit for your needs:
if(is_user_logged_in())
but the most elegant method would be to influence the header_searchicon from Enfold Options dialog.
This here only hides or shows the search – but better would be that there is no search in the menu
(comes to functions.php of your child theme)function login_state(){ if(is_user_logged_in()){ ?> <script> jQuery("#menu-item-search").css("display", "block"); </script> <?php } else{ ?> <script> jQuery("#menu-item-search").css("display", "none"); </script> <?php } } add_action('wp_footer', 'login_state');
maybe a filter like avf_header_setting_filter could do the needed trick – but i do not see how to ( on that early time )
is it a selfhosted Video?
try at the end of your video link to add:&iframe=true
by the way you can decide which buttons of tinyMCE are active for that case:
you only have to edit the tinyMCE details in the code above like:wp_editor( '', 'comment', array( 'textarea_rows' => 15, 'teeny' => true, 'quicktags' => false, 'media_buttons' => false, 'tinymce' => array( 'toolbar1' => 'formatselect | bold italic strikethrough | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent ', 'toolbar2'=>false ), ) );
with this options it will look like this:
see here f.e. how to style: https://www.tiny.cloud/docs/demo/full-featured/
this here seems to work better: https://wordpress.org/plugins/edit-author-slug/
you will have then additional fields to customise the permalink structure and the shown name – which is not the loggin User name
Edit: if you want to create it afterwards – i guess you have to refresh permalinks and edit for each user the account info !
Depends on your passwords!
In principle you are of course right that the username should not appear – but f.e. the name ( Display name publicly as ) that was specified in the profile.
Maybe a mod knows a good replacement for those permalinks – not to use the username but the name instead.there was a little plugin for that : Display Name Author Permalink
so the permalink is with the nice-name and not the username.
And on meta description this name is set too: so your Name might be yellow-feather but your username is blue_bear ;)But i do not test it – i only read about that
if you like to use contact form 7 install that little honeypot plugin for CF7 too.
I got one customer who has the same troubles with spam – after installing cf7 and placing that honeypot field on his page he told me he got a lot less spam and without any captcha.i did not remove it but redirect it via htaccess entry to a custom portfolio entry.
like:
Redirect 301 /author/name/ https://homeurl/portfolio-item/name/
so you got your own custom things for the authors
Looks this way:
Just in that moment i found a suitable solution for me – this comes to functions.php of child-theme:
add_filter('avia_form_tag_output','avia_form_tag_output',10,1); function avia_form_tag_output($output){ $args=array( 'orderby' => 'count', 'order' => 'DESC', 'hide_empty' => false, ); $tag_terms=get_terms('avia-question_tag', $args ) ; $output='<select name="question-tag" id="question-tag" class="postform">'; $output.='<option value="">Select question Tags</option>'; foreach($tag_terms as $tag_term) $output.='<option value="'.$tag_term->name.'">'.$tag_term->name.'</option>'; $output.='</select>'; return $output; } add_filter( 'comment_form_field_comment', 'comment_editor' ); function comment_editor() { global $post; ob_start(); wp_editor( '', 'comment', array( 'textarea_rows' => 15, 'teeny' => true, 'quicktags' => false, 'media_buttons' => false ) ); $editor = ob_get_contents(); ob_end_clean(); //make sure comment media is attached to parent post $editor = str_replace( 'post_id=0', 'post_id='.get_the_ID(), $editor ); return $editor; } // wp_editor doesn't work when clicking reply. Here is the fix. add_action( 'wp_enqueue_scripts', '__THEME_PREFIX__scripts' ); function __THEME_PREFIX__scripts() { wp_enqueue_script('jquery'); } add_filter( 'comment_reply_link', '__THEME_PREFIX__comment_reply_link' ); function __THEME_PREFIX__comment_reply_link($link) { return str_replace( 'onclick=', 'data-onclick=', $link ); } add_action( 'wp_head', '__THEME_PREFIX__wp_head' ); function __THEME_PREFIX__wp_head() { ?> <script type="text/javascript"> jQuery(function($){ $('.comment-reply-link').click(function(e){ e.preventDefault(); var args = $(this).data('onclick'); args = args.replace(/.*\(|\)/gi, '').replace(/\"|\s+/g, ''); args = args.split(','); tinymce.EditorManager.execCommand('mceRemoveEditor', true, 'comment'); addComment.moveForm.apply( addComment, args ); tinymce.EditorManager.execCommand('mceAddEditor', true, 'comment'); }); }); </script> <?php }
that code was to solve your problems with mega-div
some visibility and opacity settings are strange . Can you post your quick css to verfiy?
Because your css is merged it will be a bit more complicate to see for me with developer tools.Can you first test this in your quick css :
#header .avia_mega_div { overflow: visible !important; }
then we will see what it is with your slider.
have you a life link for us? Its easier to give an advice if we could see what kind of troubles are there.
What do you mean by iframe – you like to show it on a website or do you like to show the linked Page in a lightbox?
you can even show the page – as if it was the original url : https://webers-testseite.de/full-iframe/
you see on top my website testsite link – but it is shown a different link with all its features ;)January 8, 2019 at 10:07 am in reply to: dotted line around tab section titles when clicked #1051301Darf ich gerade mal ein wenig deutsch hier einstreuen? Geht mir auch schneller von der Hand.
Wo hast du den Code eingefügt? Weil ich diesen nicht in dem quick css der angegebenen Seite finde.
Schreibst Du den Style Code in das style.css deines Child-Themes direkt hinein ?
Enfold hat hierfür ja das quick css.did you test:
.av-active-tab-title { outline: none !important; }
maybe this could help you – i recognized it aswell on firefox and on a different alb element with tabs only:
https://kriesi.at/support/topic/tabtitles-on-the-left/this was my proposed solution
.tab.active_tab { outline: none !important; }
if you got a link for us – it will be helpfull to give you the right selector. I can not reproduce it on my installation
or try this as my next guess.av-active-tab-title { outline: none !important; }
can you try this in quick css:
#snow::before { z-index: 1 !important }
but think of : i’m participant as you – so i can not see links in private content field.
sorry – yes please – i can not reproduce the things you have set in your environment.
maybe you can take a copy of your landingpage and post.
i will see if it is possible to achieve.January 4, 2019 at 4:12 pm in reply to: Remove 'Classic Editor' poste state description from overview #1050021PS : this code will work if gutenberg is deactivated by (classic plugin) otherwise we had to manage the gutenberg_plugin_active state too.
I do not need the gutenberg – so on my test installation the “classic editor” plugin is running – so the first part of the rules is not needed:
This is the part in the class-avia-gutenberg.php:/** * Add info about ALB to post title * * @since 4.5.1 * @param array $post_states * @param WP_Post $post * @return array */ public function handler_display_post_states( array $post_states, WP_Post $post ) { if( $this->has_wp_block_editor ) { if( $this->need_classic_editor_links() && ! $this->force_classic_editor( $post->post_type ) ) { if( has_blocks( $post->ID ) ) { $post_states['wp_editor'] = $this->gutenberg_plugin_active ? __( 'Gutenberg Editor', 'avia_framework' ) : __( 'Block Editor', 'avia_framework' ); } else { $post_states['wp_editor'] = __( 'Classic Editor', 'avia_framework' ); } } /** * Remove double post status entries - have numeric keys */ if( $this->classic_editor_plugin_active || $this->gutenberg_plugin_active ) { foreach($post_states as $key => $value ) { if( is_numeric( $key ) ) { unset( $post_states[ $key ] ); } } } } else if( $this->gutenberg_plugin_active ) { if( ! has_blocks( $post->ID ) ) { $post_states['wp_editor'] = __( 'Classic Editor', 'avia_framework' ); } } if( '' != Avia_Builder()->get_alb_builder_status( $post->ID ) ) { $post_states['avia_alb'] = __( 'Advanced Layout Builder', 'avia_framework' ); } return $post_states; }
January 4, 2019 at 4:03 pm in reply to: Remove 'Classic Editor' poste state description from overview #1050019so now you are talking about woo ( this function is ruled too – on woocommerce itself ! )
this is the look for portfolio entries – you can see that only the classic status is hidden:
January 4, 2019 at 4:01 pm in reply to: Remove 'Classic Editor' poste state description from overview #1050018with the last code i provided the list view on my test is:
January 4, 2019 at 3:59 pm in reply to: Updating to 4.41 requires server upgrade at GoDaddy. #1050017I can’t imagine. Most of the time it is the other way around; that if an older PHP is used by the provider a fee is due. This is because they ensure that security updates are still executed for older versions that are no longer supported.
January 4, 2019 at 3:53 pm in reply to: Remove 'Classic Editor' poste state description from overview #1050012maybe try this in your functions.php of your child-them
add_filter('display_post_states','remove_ALB_post_state',999,2); function remove_ALB_post_state( $post_states, $post ) { if("! has_blocks( $post->ID )") { unset($post_states['wp_editor']); } if("!= Avia_Builder()->get_alb_builder_status($post->ID)") { unset($post_states['avia_alb']); } return $post_states; }
and if you want only get rid of classic :
add_filter('display_post_states','remove_CLASSIC_post_state',999,2); function remove_CLASSIC_post_state( $post_states, $post ) { if("! has_blocks( $post->ID )") { unset($post_states['wp_editor']); } return $post_states; }
January 4, 2019 at 3:38 pm in reply to: Remove 'Classic Editor' poste state description from overview #1050011well – this seems to be a part for Günter – because on class-avia-gutenberg.php there are those additional settings. But the “Classic Editior” state comes not from enfold.
see from line 611 ( public function handler_display_post_states( array $post_states, WP_Post $post ) )
-
AuthorPosts