Forum Replies Created
-
AuthorPosts
-
i think it has to be a serverside problem – so i have to wait for serveradmin to go on this problem. The monthly saved Site runs on my Server perfect.
in the meanwhile a lot of other big players do offer such things. for example: CDN itself : https://cdnjs.com/
if ;) i would now take that code here:
if( !is_admin()){ $url = 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'; $test_url = @fopen($url,'r'); if($test_url !== false) { function load_external_jQuery() { wp_deregister_script('jquery'); wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'); wp_enqueue_script('jquery'); } add_action('wp_enqueue_scripts', 'load_external_jQuery'); } else { function load_local_jQuery() { wp_deregister_script('jquery'); wp_register_script('jquery', '/wp-includes/js/jquery/jquery.js', __FILE__, false, '1.12.4', true); wp_enqueue_script('jquery'); } add_action('wp_enqueue_scripts', 'load_local_jQuery'); } }
Well – it seem to be solved now – and btw. the video on youtube you mentioned above has nothing to do with enfold (genesis).
https://www.youtube.com/watch?v=pTBsWYKaMi0well you won’t like it because even aside did not go from header to footer – it stops when content is less than main content.
try:#top #main .sidebar { background-color: #900 }
and you will see what i mean
Import Sliders on Szenario 1 (my favorite) there is a little button on top of the first window shown on layerslider : template store – press it.
New fullscreen windows opens with all layersliders even the newest one are shown – there are buttons on hovering the slider preview to get a preview or to import that slider.i would do it this way –
install Enfold. Purchase the code for Layerslider.
Do not install the standalone Plugin – just enter the purchase code to the embeded Layerslider.
From that moment on, you have all the advantages of an activated Plugin – without the loss of alb element.
There are only a few weeks between those updates. But you have that great advantage that you can use it with Advanced Layoutbuilder.
All shortcodes are working too.If you don’t like that – and waiting for the next Enfold Update to get the newest layerslider update – than you have to put this to child-theme functions.php:
add_theme_support('deactivate_layerslider');
then install your standalone plugin.April 15, 2017 at 9:22 am in reply to: Add each selected category (not just one) to portfolio #778168on elegant blog template there is an output of the concerning categories :
if(!empty($cats)) { $cat_output .= '<span class="blog-categories minor-meta">'; $cat_output .= $cats; $cat_output .= '</span>'; $cats = ""; }
but that works only if posts were made without advanced layout builder.
and on portfolio i think these “categories” aren’t categories they have the taxonomie : portfolio-entries
so first we had to clear how the loop comes to those posts and portfolios made with alb.hm – don’t know if this has to do with your trouble – but i have too a problem with “ERR_TOO_MANY_REDIRECTS”
all the instructions on internet with cookies erasing do not work.the bad thing is that i do not come into backend.
this is a customer site – and badly i have no mysql access.i have manually updated WordPress and Enfold to the latest versions.
please get familiar with using a child-theme it is very easy to create one – even afterwards you have allready settings in your parent theme.
Enfold is very userfriendly on that. you can download a child-theme folder on documentation of enfold here.
Unzip the file and upload that folder to your themes folder via ftp.
Now there is on Dashboard Appearance another Enfold (but now marked as Child) Theme. After activating that, Enfold is now listed on dashboard as Enfold Child and has on Options / Import-Export the possibility to “Import Settings from your Parent Theme”A Child-Theme has a lot of advantages. Update of Enfold will only change things in the Enfold (Parent) Folder – all customizations will stay because you are using the Child.
One central File in WordPress is the functions.php and that file has one difference to most of the other WordPress files. Entries in the functions.php of your child theme folder are only added to the parent theme functions.php (only if there are detailled intruction to remove parent things – these are erased) But both files are active.
(other files like the header.php in your child-theme folder this will totaly replace the one in your parent-theme)So all those usefull snippets like here a short list: http://kriesi.at/documentation/enfold/code-snippets/ can be placed now in functions.php of the child-theme without loosing it on updating the theme itself.
Enfold Team has placed a lot of little “eye” all over there code where a hook can grab in – often seen as
do_action( );
with mostly some comments on it like :Hook that can be used for plugins and theme extensions (currently: the wpml language selector)
etc.So for your problem i found that
do_action( 'ava_before_footer' );
in footer.php and that is the right place for placing some code.the ava_after_main_menu is there – but it is the position as described after main menu above social media
April 13, 2017 at 7:19 pm in reply to: how to change the background color of the contact form – enfold #777474if you want it specifically only for one form
give the form a custom class ! f.e. colored-form#top .colored-form fieldset { background-color: #efefef; padding: 20px; }
padding is necessary because it would look strange with the input fields direkt on border
is it too complicated?
There is a position under Menu – above social media links. But register a new “header” widget is here necessary too.April 13, 2017 at 2:10 pm in reply to: Add each selected category (not just one) to portfolio #777265ich glaube das einfachste wird sein, man nimmt die beiden loop Dateien:
loop-index.php und loop-portfolio-single.php sich vor. Da unten werden ja auch schon die tags hin und wieder gelistet!
mitecho get_the_category_list( )
sollte man das hinbekommenFür Beiträge habe ich sowas vorhin schon gezimmert. Ist aber noch nicht optimal: https://webers-testseite.de/kokon/entry-with-post-format-video/
Abends erst mehr; jetzt muss ich Kundensachen wegbringen.
-
This reply was modified 8 years, 2 months ago by
Guenni007.
April 13, 2017 at 12:43 pm in reply to: Add each selected category (not just one) to portfolio #777217letztendlich hat das ja WordPress schon vorgemacht. In der Beitragsliste stehen ja hinten tabellarisch die Kategorie-Zugehörigkeiten.
Man sollte denke ich also diese Feld in WordPress finden, und mit in das single.php einbauen können.April 13, 2017 at 11:52 am in reply to: Add each selected category (not just one) to portfolio #777189Weil auf deiner Seite sah ich keine solche Sortieroption – daher das Missverständnis.
Du willst in einem Portfoliobeitrag irgendwo die Zugehörigkeit zu der Kategorie anzeigen; wobei es Portfolios gibt, die mehreren Kategorien angehören (also du hast ein Foto, welches sowohl Landschaft als auch Architekur z.B ist)
April 13, 2017 at 9:20 am in reply to: Add each selected category (not just one) to portfolio #777136oh i think we can go on to speak now german:
auf meiner linkseite oben siehst du ja oberhalb des Portfolio Grids die Sortieroptionen musst nur dran denken das auch anzuwählen!Sortierung?
Sollen die Sortierungs-Optionen (auf Kategorien basierend) angezeigt werden?und die Categorien kann man oben durch gedrückt halten der Maustaste und ziehen alle anwählen oder eben durch shift (hochstelltaste) halten und einzelklicks.
April 13, 2017 at 9:04 am in reply to: Add each selected category (not just one) to portfolio #777130hm first of all – you have looked to the options of portfolio advanced layout element (masonry or grid) ?
Which categories should be used for the portfolio?
You can select multiple categories here. The Page will then show posts from only those categories.see link with image above. : https://webers-testseite.de/kokon/portfolio/portfolio-3-columns-centered/
you can activate one by another if you are clicking on the category you like to show under pressing the shift key there is the possibility to choose more than one!-
This reply was modified 8 years, 2 months ago by
Guenni007.
by the way – see here my experiment with color-section and in it a transparent layerslider : Testpage
so you can take a color-section with background image (scroll, parallax etc.)
and than do whatever you like with headings – other images etc.well this is the code for some pages on my testinstallation – you can get rid of that beginning if-clause
function my_fixed_sidebar() { if( is_page(600) || is_page(1395) || is_page(1398) ) { ?> <script type="text/javascript"> jQuery(document).ready(function () { var top = jQuery('.inner_sidebar').offset().top; var headerh = jQuery('header').outerHeight(); jQuery(window).scroll(function (event) { var y = jQuery(this).scrollTop() + headerh; if (y >= top) { jQuery('.inner_sidebar').addClass('fixed'); jQuery('.inner_sidebar').css('top', headerh ); } else { jQuery('.inner_sidebar').removeClass('fixed'); jQuery('.inner_sidebar').css('top', " " ); } jQuery('.inner_sidebar').width( jQuery('.inner_sidebar').parent().width() - 50 ); }); }); </script> <?php } } add_action('wp_footer', 'my_fixed_sidebar', 20);
without that if-clause on beginning:
function my_fixed_sidebar() { ?> <script type="text/javascript"> jQuery(document).ready(function () { var top = jQuery('.inner_sidebar').offset().top; var headerh = jQuery('header').outerHeight(); jQuery(window).scroll(function (event) { var y = jQuery(this).scrollTop() + headerh; if (y >= top) { jQuery('.inner_sidebar').addClass('fixed'); jQuery('.inner_sidebar').css('top', headerh ); } else { jQuery('.inner_sidebar').removeClass('fixed'); jQuery('.inner_sidebar').css('top', " " ); } jQuery('.inner_sidebar').width( jQuery('.inner_sidebar').parent().width() - 50 ); }); }); </script> <?php } add_action('wp_footer', 'my_fixed_sidebar', 20);
than you have to setup in quick css :
.fixed { position: fixed }
BUT!
on some pages with special Content on top and than colorsection under it with less content do not work as expected –
but i think if sidebar is small enough and content is big enough it could work the whole site. Other wise – you see that the function can be setup through if clauses only to work for categories or posts or etcif you are lucky with this here: https://webers-testseite.de/kokon/blog/
i can tell you how to reach (even for only some pages – the other blog pages like : https://webers-testseite.de/kokon/blog/blog-multi-author/ do not do that trick !well you can do this via:
.inner_sidebar { position: fixed; }
but the footer is over that sidebar – so with small content there will be overlap –
but what will you do in responsive case?
what will you do with pages with big sliders or 1st color-section on top?
What is the way for mobile devices? because often position fixed does not work on that case!even if we do that with jquery ( scroll to top than fixed) alot of questions stays unsolved
and you have no oportunity to crop the images ?- because on performance instances this will be the best solution.
but if you don’t like this – you can give the iconbox itself a custom class ( see here ) f.e: myiconbox
and than:
.myiconbox .iconbox_content { background-color: #900000 !important; }
hm – bgiacomo – you have seen my image i posted. this edited iconbox.php has the oportunity to set up by a selector input field the background-color.
(And by the way another added input field is for choosing the h-tag (h1 to h6)
but you have to be familiar with custom shortcodes ( but on download there is a little instruction)Or do you realy have that “Custom Iconbox Background Color” field too? ;)
or try to make it with advanced layerslider plugin – the parallax effekt and for text you can do everything you want.:
https://webers-testseite.de/kokon/fullwidth-slider/do you mean a percentage of width or height.
Because the full-width slider did that have allready (the limitation to height).and the fullscreen-slider you can force it to have less width:
f.e..avia-fullscreen-slider .avia-slideshow { left: -40vw; margin: 0; position: relative; transform: translate(50vw); width: 80vw; }
April 11, 2017 at 5:57 pm in reply to: How to remove "Home" from the permalink of the front page #776217hm – can not confirm this.
All my installations link to the source url.Please go to your Menus and on your home or start or whatever on the right side of each menu point there is a little dropdown arrow – press it
than you can see something like this:
What is there on your installation on url – here on example “Monster link”
and by the way on home there should be no url.-
This reply was modified 8 years, 2 months ago by
Guenni007.
Yes – but i think originally the iconbox_content is colored by enfold – so :
.iconbox_content { background: red !important; }
it could be so easy :
click to enlarge
Download of edited zip with instruction: Iconbox.zip
btw. it is with the option to choose the tag type of the heading (h1 – h6)by the way – from an old thread https://kriesi.at/support/topic/h1-avia-caption-title/
i changed the three shortcodes slideshow_fullscreen, slideshow_fullsize and av-helper-slideshow (all phps comes to child-theme / shortcodes folder)
on those edited elements you got the choice to have h1 to h6 on those headings.this comes to functions.php of child-theme:
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths){ $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
Download is still there: archive.zip
so you can setup the first slide with h1 , and the following slides to h2 etc.
don’t know how google reacts if there is more than one h1 on pagePPS: on both fullscreen-slider , fullwidth-slider i let the standard to h2
-
This reply was modified 8 years ago by
Yigit. Reason: Updated download link
-
This reply was modified 8 years, 2 months ago by
-
AuthorPosts