Forum Replies Created
-
AuthorPosts
-
December 5, 2019 at 1:20 am in reply to: Can I rename "Portfolio Items" to something my content team will relate to? #1162764
if you put this to your child-Theme functions.php:
Edit : look
and on Permalinks change it to books and books_entries
December 5, 2019 at 1:00 am in reply to: Can I rename "Portfolio Items" to something my content team will relate to? #1162762Well you can change the label and on permalinks the slug you see in the url.
See here for Label: https://kriesi.at/support/topic/possible-to-rename-portfolio-entirely/and here is the child-theme usage : https://kriesi.at/support/topic/renaming-the-portfolio-custom-post-type-child-theme-issues/#post-564363
by the way the other method is elegant too and changes the standard settings before it they are built.
but it is not so easy to get the right code
on the code above you can add as many changes you like to have semi-colon separated ( this part: replaceElementTag…
The function on top is to transfer all attributes to the new tag.
see here explanation: https://kriesi.at/support/topic/widget-tags-remove-h3/#post-1016082you can use as many h2 and h3 etc as you like.
If you want the weighting in the sense of SEO to be different, then you can either use the filter: avf_customize_heading_settings
see here some explanations to it:https://kriesi.at/support/topic/timeline-milestone-h2-and-h3-tags-how-can-i-delete/#post-1098165
and following answers. ( or see github : Link )or use one nice thing i use when i want to replace only the tags of an existing structure.
This is a generally usable thing : https://kriesi.at/support/topic/widget-tags-remove-h3/#post-1016049in your case this comes to child-theme functions.php:
function replace_tags_with_tags(){ ?> <script> (function($) { function replaceElementTag(targetSelector, newTagString) { $(targetSelector).each(function(){ var newElem = $(newTagString, {html: $(this).html()}); $.each(this.attributes, function() { newElem.attr(this.name, this.value); }); $(this).replaceWith(newElem); }); } replaceElementTag('h3.grid-entry-title', '<h2></h2>'); replaceElementTag('h2.post-title', '<h3></h3>'); }(jQuery)); </script> <?php } add_action('wp_footer', 'replace_tags_with_tags');
hm try this instead:
function shift_link_to_grid(){ ?> <script type="text/javascript"> (function($) { $(document).ready(function() { $('.grid-entry').on('click', function() { window.location.href = $(this).find('.grid-image').attr('href'); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'shift_link_to_grid');
That file is only the backup for your theme settings and quick css entries etc. pp.
Renaming the child theme just with a ftp client and rename the child folder if you like and open the style css and rename it on “Theme Name:”
Do not change the part of the parent theme name: “Template: enfold”
This is possible too but …
here are some thoughts on obfuscating the source parent theme: https://kriesi.at/support/topic/source-code-change-delete-theme-name/hm sorry – I missed that ( By default notifications are hidden for the bundled version. The filter is only needed if you want to show notifications also for the bundled. ) , and because I had the code already in my child-theme functions.php it was clear to me that it was needed additionally.
My mistake ! yes so it is best.
And if we had the yes instead it will be shown – brilliant solution.Yoast SEO is a very powerful tool, but for many normal users it is a bit oversized.
If you are clear about what you want to include in a SEO project, you often get along better with less.
As a caching tool I like to use Cache Enabler at the moment. In combination with WebP Plugin which generates from my jpg and pngs webp this is a good performance increase.In that case, you should post it there, too.
so this might be then in your description:
Please Note: Most images in the theme demo are stock photos from photodune which are only for use with the themeAn additional info would be important.
As long as you only have the two files style.css and functions.php (and a third one: screenshot.png for preview) in your child theme folder, then your presumption is correct.However, some have headers or footers or other files as modified files that are intentionally located in their child-theme. This was obviously done to add functionality to the source code of these files. These changes must then still be included in the new files.
I remember here a change of the header.php of the parent theme regarding the lightbox settings – so here those who had a header.php in the child theme had problems with their lightbox function after updating the parent theme. So if you have additional files in your Child-Theme folder you need to check if the parent-themes files have changed.
See for example: https://kriesi.at/support/topic/lightbox-doesnt-work-anymore-after-update/ etc. ppI agree with you, of course, therefore I think it would be better to turn it off by default, and only be activated if the standalone plugin is installed.
Der Du als Standard rührt halt noch aus der Zeit her, als WP ein reines Blogger Tool war.
Bis dann.This is not in all circumstances right: Link
- …
- Please Note: Most images in the theme demo are stock photos from photodune which are not part of the theme
wenn du generell die formale Anrede nutzen möchtest, dann stell es im Dashboard bei “Einstellungen – Allgemein – Sprache der Website” ein ( Deutsch(Sie)). – Dann sollte Enfold auch die entsprechenden Sprachfiles nehmen.
December 3, 2019 at 4:25 pm in reply to: Grid row mobile responsiveness not working properly #1162261look here and tryout the responsiveness.
under the point “code” you can see how it works.
These settings had to be adjusted on each case.Wow – thats nice – one thing not to remember on updating enfold.
By the way: @doffine
it is not a bug. When that little red 1 shows up, the layerslider has updates – the only error is that this red 1 is displayed in the Plugin Tab, but there is no LayerSlider there.
I for my part am very satisfied that the Layerslider is included as a bonus in Enfold.
Or do we want to complain here until it is removed from the package?
;) https://www.youtube.com/watch?v=-2iZjxSGca8Thanks Günter – That worked right away.
______
But what I don’t understand at all, because in the original file, it is noted with “LayerSlider”. So I have it on my server too.
614 : $layerslider = str_replace( '\\', '/', get_template_directory() . '/config-layerslider/LayerSlider/layerslider.php' );
In the changed config.php line 633 it now says “layerslider” – and that’s how it runs ??? allthough i got LayerSlider folder.
633: $layerslider = '/config-layerslider/layerslider/layerslider.php';
it wouldn’t have bothered me personally, but there are still some customers with admin access who always believe that there is a need for action because of this little red sign.
For me it is solved now – and can be closed.
Will this be implemented in a future Enfold version? Certainly not yet into the next one, after Envato hastily announced the new version, which will be released soon.there is one thing that is not nice: the post-navigation thumbnails are replaced too – and that has to be avoided.
Hard to style in the right manner.
Maybe a short question to the plugin author could solve that issue.give that little plugin a chance.
you can embed even youtube or vimeo videos as “featured image” but think of GDPR.
big advantage of self-hosted video – if you start one in the preview – the other stops playingsee : https://webers-testseite.de/category/allgemein/
The only thing is then to get rid of “featured-image” link to the single post. That can be done by functions.php entry.Edit : on GDPR Reasons i get rid of youtube video now.
-
This reply was modified 5 years, 7 months ago by
Guenni007.
And of course – if you have declared the post as video type post. the first found video in this post will be taken on some enfold pages as featured image above – like in : https://kriesi.at/themes/enfold-2017/blog/blog-multi-author/
where is the video?
Edit : ok i had to press the load-more button.
That video is a selfhosted one – you can try the plugin above – see my test page with the post-slider on the bottom-
This reply was modified 5 years, 7 months ago by
Guenni007.
can you show me a link to a theme where the “featured image” is a video?
I tested this a while ago : https://wordpress.org/plugins/featured-video-plus/
– alltought it is an older plugin it works on WP 5.3 and it seems to be o.k.
– but on GDPR ( DSGVO ) Reasons it is no good advice to use for that youtube or vimeo etc. hoster. ( with borlabs cookie it is ok )
– with sound – it does not stop the video when it is out of view ( f.e. post slider )see here: https://webers-testseite.de/portfolio-item/pirol-hifi/ and look to the bottom for “Projekte” the post slider.
i guess the only way to have background-video GDPR conform is to have a selfhosted video. So for server performance it would be best to have small selfhosted videos in this case.
For embedded videos there are solutions.
For links to Lightbox YouTube videos – I guess they’re fine – but for those who want it legally correct – you probably have to code a little yourself.
See f.e.: https://glas-lepper.de/vw-bus-historie/ – see the iceland videoalso the No-Cookie-Version is not conform with GDPR (DSGVO) guidelines.
by the way – even an iframe embedded youtube video is transformed from google (youtube) to the shortform of:https://youtu.be/…
And even borlabs cookie does not block : background-videos
borlabs does not block the new possiblity of video alb to show on lightbox ( meant is not to block the iframe itself – but the preview image and the link to the lightbox.
That is very sad because blocking embedded videos is working good: https://webers-testseite.de/youtube-nocookie/December 1, 2019 at 8:38 pm in reply to: Fixed Frame Layout – Different Border Colours in Different Pages #1161662CSS : Cascading Style Sheet – the ids and classes that comes first in the markup are in front
the first that comes on the markup is the html – and html is not a class!
Where is your page-id ? : It is on the body tag! ( and that has the id : top and comes after html)
and that is right: those frames are childs of body – so there is a space between #top and .av-frameso :
html.html_av-framed-box #top.page-id-29 .av-frame.av-frame-vert {background: #ff6600 !important} html.html_av-framed-box #top.page-id-29 .av-frame.av-frame-bottom {background: #ff6600 !important} html.html_av-framed-box #top.page-id-29 .av-frame.av-frame-hor {background: #ff6600 !important} html.html_av-framed-box #top.page-id-29 .av-frame.av-frame-right {background: #ff6600 !important}
Also ich kann hier die unterschiedlichen Farben wählen, (selbst hinter einem VPN ;) ) klappt alles wunderbar.
hi kahil – looks very nice
are the new possibilites of developer tab are included to your alb elements? Custom Class and ID etc.? -
AuthorPosts