Forum Replies Created
-
AuthorPosts
-
April 15, 2017 at 9:22 am in reply to: Add each selected category (not just one) to portfolio #778168
on 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, 7 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, 7 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, 7 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, 5 months ago by
Yigit. Reason: Updated download link
Dear Mods : i achieved this allthough i did not link to the new includes subfolder – it seems to work by itself ?
It is directly listet in Dashboard / Appearance / Editor List – is that new – when i take the same folder hierachical structure that it worked without linking. ?hm the place you are looking for has no enfold prepared hook – but we can do it ourself.
if you are working with a child theme please goto your child-theme folder and create a subfolder named: includes
On enfold / includes there is a file : helper-main-menu.phpupload a copy of this to your child-theme includes folder.
We must now insert some code to that copied helper-main-menu.php
On line 199 you see:`/* end container */
$output .= ” </div> “;`after that insert :
/* * Hook that can be used for plugins and theme extensions */ ob_start(); do_action('ava_after_inner_container'); $output .= ob_get_clean();so you have than :
/* end container */ $output .= " </div> "; /* * Hook that can be used for plugins and theme extensions */ ob_start(); do_action('ava_after_inner_container'); $output .= ob_get_clean(); //output the whole menu echo $output;so now we have a piece where we can hook the widget to. in your functions.php of your child-theme add:
add_action( 'ava_after_inner_container', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'sidebar-header-widget' ); }Important: If you have allready used that functions name (enfold_customization_header_widget_area) replace it by another function-name.
Goto your widgets and create a customized widget area called “sidebar-header-widget”
Goto your Quick css and add:
.html_header_sidebar ul.social_bookmarks { border-bottom: 2px solid #efefef; } .html_header_sidebar #header_main .widget { margin: 0 13%; }PS
Look what happens to this widget area on responsive case! it is than directly under the header.
You will manage that by yourself – i would decide to not show that container and do it to display none ?You can see the test page here: https://webers-testseite.de/kokon/elements/buttons/
-
This reply was modified 8 years, 7 months ago by
Guenni007.
if it was deactivated and all your sliders are seen in the layerslider options – you can deinstall it.
You can do what you did – and delete it via ftp – I would prefer the deinstall routine – to avoid some rest on your database.
On beeing a bit paranoid – save first all sliders – you can do that on layerslider options (best is list view) – on list view there is on the right side a little drop-down menu – there is an export option.And magic – from now on your layerslider will update via Enfold Update
April 8, 2017 at 9:22 pm in reply to: A way to add something at the bottom of every post in a category at one time #774705yes do it with that widget solution – this has another advantage because some plugins like restrict widgets or widget logic can customise the way where you inserted it .
F.e. place that content and restrict the visibility to only categories or posts or … etc.
you see the code to register that widget area – test it !
aha – jotform got no widget itself but here are some instruction to embed that form: https://www.jotform.com/answers/497948-Jotform-as-Wordpress-Widget
if you got a shortcode from jotform you can place it in a text in that widget area
JotForm’s Embed Form plugini placed testwise a contact form 7 via shortcode this way in a text widget:
<div class="avia-section"> <div class="container"> [contact-form-7 id="3235" title="Kontaktformular 1"] </div> </div>these divs – just to have directly the correct width of the area.
-
This reply was modified 8 years, 7 months ago by
-
AuthorPosts


