-
AuthorSearch Results
-
April 29, 2024 at 3:35 pm #1441311
Topic: Custom post type in masonry
in forum EnfoldKonrad
ParticipantHi,
I’m currently in the process of migrating our old website onto a new website that’s developed with Enfold. On our old website, we had a few custom post types. I’ve created these post types on the new website using “Custom Post Type UI” and migrated all posts from the old site using the WP import/export tool.
I want to display these posts in masonry on my new site. I’ve followed this topic link to do so. However, even though I’ve put and customized the snippet in my functions.php file and created a custom taxonomy for the post type, when I select this taxonomy from “Display entries from: Category: Case studies,” it doesn’t display any posts in my masonry, even though the custom post type “Case studies” has a few posts already added.
What can be the problem? Am I missing something or did something change since the linked post?
Thanks in advance.
April 29, 2024 at 12:57 pm #1441300In reply to: Remove featured image expand in posts
Hi!
For your information:
Added filter avf_post_ingnore_featured_image_link to next release 5.7.1.
See https://github.com/KriesiMedia/Enfold-Feature-Requests/issues/97 for links how to use the filter and to update ..\enfold\includes\loop-index.php including this link already.
Cheers!
GünterApril 29, 2024 at 12:14 pm #1441294In reply to: Blog posts section heading style
Hi,
To change the h1 font size on single posts try this css:#top.single-post #wrap_all .all_colors .post-entry h1.post-title.entry-title { font-size: 20px; }I’m not sure what you mean by changing your image size, when you upload an image WordPress creates thumbnails of it to be used in different situations, often cropping your image, but for best results you should resize you image before you upload it, here is a free online resizer. If you need further help with this please open a new thread and explain in more detail including the sie you want the image to show and what size you are uploading.
Please note that we ask that you create a new thread for each issue, this helps other users find solutions based on the opening subject line quicker and helps keep the thread length manageable and on topic for multiple mods to assist. Thank you for your understanding.Best regards,
MikeApril 29, 2024 at 11:55 am #1441291In reply to: Site is loading slowly
Hi Mike,
thank you very much for your advice.
I started a few tests and modifications: files merged, shortpixel optimized. Result: hm…
The Mainpage with now no videos is still loading very slowly. Other pages with videos are of course more slowly.Another site we created a few months ago with enfold (we always use enfold since years!) is loading much more better although there is also an autorun background video in the main section. But the testing showed, that this video is also loading 2 times? (https://ihrpartnerfuersdach.de/)
loading very good with video: https://ihrpartnerfuersdach.de/
loading not good without video on mainpage: https://gross-bauunternehmen.de/wp-site2024/If you want, I can give you a temp account to wordpress.
Best regards,
Vera-
This reply was modified 1 year, 11 months ago by
vthie.
April 29, 2024 at 11:44 am #1441287In reply to: Problem with Autoptimize and Enfold
Hey Ralph,
Thank you for the inquiry.
Did you also activate the Enfold > Performance > File Compression settings? This might conflict with the compression option provided by the plugin. Try deactivating the theme’s file compression, then purge the cache. Let us know if this resolves the issue.
Best regards,
IsmaelApril 29, 2024 at 10:12 am #1441277Topic: prevent automatic play/opening of a YouTube link
in forum Enfoldfkm
ParticipantHey Enfold team,
I´d like to use YouTube hyperlinks for my website that leads to the YouTube website in a new browser tab.
If I insert a YouTube hyperlink, the corresponding video will automatically open on my site.
Although the automatic playback of the video is a stylish function, it is unfortunately a data protection problem in Germany.
So please let me know how to prevent it.Thank you very much in advance.
Best regards,
fkmApril 29, 2024 at 8:41 am #1441264In reply to: Twitter icon to X
Hey Michael,
Thank you for the inquiry.
The site contains an older version of the theme which doesn’t include the new twitter or x icon. Please upgrade the theme to version 5.7. Make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after the upgrade.
Best regards,
IsmaelApril 29, 2024 at 8:41 am #1441263In reply to: Twitter icon to X
Hey Michael,
Could you try updating the theme to the latest version (5.7) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.
Best regards,
RikardApril 29, 2024 at 8:25 am #1441256In reply to: Content + image slideshow
Hey mvi,
Thank you for the inquiry.
Have you tried using the Layer Slider or the Content Slider element? Please check the links below for more info:
// https://kriesi.at/documentation/enfold/advanced-layerslider/
// https://kriesi.at/documentation/enfold/content-slider/Best regards,
IsmaelApril 29, 2024 at 8:18 am #1441253In reply to: Problem with a WooCommerce Snippet
Hi,
Thank you for the inquiry.
The theme doesn’t alter the checkout process or add anything to the checkout template, which might mean that the issue is likely due to another extension or plugin. Have you tried to test this with other plugins disabled?
You can check the theme’s modifications for the WooCommerce plugin in the enfold/config-woocommerce folder.
Best regards,
IsmaelApril 29, 2024 at 7:13 am #1441246In reply to: Problem with a WooCommerce Snippet
Sorry. I have edited the post.
We did something like this once before with a different theme and it went through. Hence the question of whether we have to pay special attention to something with Enfold.Thank you very much!
April 29, 2024 at 6:41 am #1441241In reply to: Change Events Calendar widget title font size
well – the current code is more like my code, which remains valid even when changing the standards in Enfold (e.g. font-size, font-family, border-color, color (missing in your code) etc.). But this isn’t a competition.
Because color is missing, the color is now #141827 instead of #474747 – and your current code applies to all h2 – not just those that are set via tribe events.
However – the main thing is that it works.Hi,
I’m not sure what you mean, I see your header on the search results page, see the screenshot in the Private Content area.
Perhaps you mean that there is a large space at the top, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.html_header_top.html_header_topbar_active.html_header_sticky #top #main.swp-rp-main { padding-top: 0; margin-top: 0; }Best regards,
MikeApril 28, 2024 at 8:04 pm #1441219In reply to: Site is loading slowly
Hi,
Now when I check your page is loading completely, when I check with webpagetest.org (linked below) you have a video in the footer that is loading twice and seems to take 22 seconds to load:

this video is 13.9 mb but is only a short background loop, you could try converting this to a gif, for example I created one using the first 2.5 seconds and the gif was only 5.3mb which would be a lot smaller.
I also see that you are not using the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression option which will reduce the number of files loaded.
It doesn’t look like your short pixel plugin is working well, I tested one of your images on tinyjpg.com and it reduced your image by 39%

Best regards,
MikeApril 28, 2024 at 7:14 pm #1441212In reply to: Portfolio Layout
Hi,
If in the theme settings you are going to have no sidebar as the option for Sidebar On Single Post Entries

but still want a sidebar to show only on portfolio posts, add this code to the end of your child theme functions.php file in Appearance ▸ Editor:function enable_sidebar_on_portfolio_posts_when_disabled_in_theme_settings($layout, $post_id) { if( is_single() && get_post_type() == 'portfolio') { $layout['current'] = $layout['sidebar_right']; $layout['current']['main'] = 'sidebar_right'; } return $layout; } add_filter('avia_layout_filter', 'enable_sidebar_on_portfolio_posts_when_disabled_in_theme_settings', 10, 2);That would show the Sidebar Pages or Displayed Everywhere widget area:

If you then want a custom portfolio sidebar widget area to show, then follow the steps above.Best regards,
MikeApril 28, 2024 at 4:58 pm #1441203In reply to: Portfolio Layout
Hey peterolle,
To have a custom sidebar that only shows on portfolio posts, first create a custom widget area, in this example I named it “portfolio sidebar” and added the text widget:

then ensure that the sidebar i enabled on single post items:

Then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:add_filter("avf_custom_sidebar", function($custom_sidebar) { if(is_single() && get_post_type() === 'portfolio'){ $custom_sidebar = "portfolio-sidebar"; } return $custom_sidebar; }, 10, 1);and the sidebar will show only on portfolio posts:

Best regards,
MikeApril 28, 2024 at 3:57 pm #1441191In reply to: Site is loading slowly
Hi,
Thank you for your patience, your site doesn’t load for me, but I don’t see any errors in the browser. I do see one video trying to laod 6 times:

Try disabling all of your plugins and remove this video from your page and see if it then loads.
Do you have the Page Preloading option enabled?
Does the backend load ok?Best regards,
MikeApril 28, 2024 at 3:40 pm #1441189In reply to: Change h2 to h3 or other in Blog
Hey Christian,
Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function custom_script() { ?> <script> (function($) { $(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('.post-entry h2.post-title.entry-title ', '<h4></h4>'); }); }(jQuery)); </script> <?php } add_action( 'wp_footer', 'custom_script', 99 );Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
In the code change:<h4></h4>to suit. Note that this may not change the font size, if you also want to change the font size try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.html_elegant-blog #top .post-entry .post-title, .html_elegant-blog .avia-content-slider .slide-entry-title { font-size: 20px; }and adjust to suit.
If this doesn’t help please include the url to the page in question so we can take a closer look.Best regards,
MikeApril 28, 2024 at 3:26 pm #1441188In reply to: Blog posts section heading style
Hi,
To change the post h2 font size, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top #wrap_all .all_colors .post-entry h2.post-title.entry-title { font-size: 20px; }adjust the font-size to suit.
Best regards,
MikeApril 28, 2024 at 3:20 pm #1441186Hi,
Please note that if you updated the theme by trying to overwrite the theme files via FTP, this could cause an error by leaving some old files behind that were not overwritten.
Try deleting the parent theme Enfold directory, and then upload the new files.
Another way would be to use your webhost backup files to restore your site, and then disable your child theme and manually update like this:
First download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New

after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue

then you will see the Theme updated successfully message.

Then before you enable your child theme ensure that your custom footer.php & header.php files match the current footer.php & header.php, if not this will cause errors in your theme. We do not recommend adding these files to your child theme, it is the most common reason for errors when updating. Please remove these files and any customizations you wish to make should be done in your child theme functions.php
If you have other customized files in your child theme this could cause errors, try removing these and see if you still have trouble.Best regards,
MikeApril 28, 2024 at 3:13 pm #1441184In reply to: Fatal error: Access level to avia
Good morning. I went in my php admin and checked. I don’t remember the name of my back up theme so I was not able to change it. I checked on my Enfold theme version it has gone back to 4.5 or so. After purchasing the new Enfold version I had updated it and it looks like update got stuck and right after that it started showing the error. Not sure if I was suppose to update php version before the Enfold or after. I am still learning any info will be greatly appreciated specially regarding my hosting or any other areas you think Enfold can benifet from. I like this theme and would like to stay with it please.
I really appreciate all you are doing for me.
Sincerely
VinayApril 28, 2024 at 3:08 pm #1441183Hey xfacta,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container { padding-top: 0; }Best regards,
MikeApril 28, 2024 at 3:06 pm #1441182In reply to: Change Events Calendar widget title font size
Hi,
Perhaps try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top #wrap_all .all_colors h2.tribe-events-widget-events-list__header-title { font-size: 20px; font-weight: 600; font-family: "open sans"; }After applying the css, please clear your browser cache and check.
Best regards,
MikeApril 28, 2024 at 3:00 pm #1441177In reply to: Burger Menu – button menu space above
April 28, 2024 at 1:39 pm #1441171In reply to: Show product category in masonry gallery
Hey peterolle,
You will need to also choose your sub-categories:

for them to show as a sorting option:

but note that you will need to ensure that your element is showing enough items to include the sub-categories, for example if you are only showing 5 items then the categories and sub-categories for those 5 items will show. Also note that the sorting will only work for the items shown, for example if on page load you are only showing 5 items, and only 1 item from the sub-category is showing, choosing that sub-category will only show the 1 item and not all items. So under Styling ▸ Pagination ▸ Post Number you should ensure that you are showing enough items.

Best regards,
MikeApril 28, 2024 at 1:05 pm #1441167In reply to: PHP update 7.4 to 8.1 failled
Hi
unfortunatelly the problem ist still unsolved. It seam, that Child theme enfold ist not working with php 8.1 as all my other Enfold sites works fine with php 8.1.
Could you please look again at the latest error log? please download the txt file (link see private content)I did everything: empty the own settings on Childtheme /theme function/functions.php
I deactivated all plugins
wordpress updated
childtheme updatedstill: the page ist not working on 8.1php
regards
Dominic-
This reply was modified 1 year, 11 months ago by
dbuettner.
April 28, 2024 at 12:44 pm #1441164In reply to: Custom WooCommerce categories with builder
Hi,
Enfold Theme Options ▸ Sidebar Settings ▸ Sidebar On Archive PagesBest regards,
MikeApril 28, 2024 at 9:33 am #1441131In reply to: Change Events Calendar widget title font size
if you like to synchronize it with the other widget titles:
#top #wrap_all .all_colors .sidebar .tribe-events h2 { font-family: var(--enfold-font-family-heading); font-size: var(--enfold-font-size-theme-h3); color: var(--enfold-main-color-heading); border-color: var(--enfold-main-color-border); font-weight: 600 !important; letter-spacing: 1px; border-style: solid; border-width: 1px !important; padding: 10px 0; border-left: none; border-right: none; margin-bottom: 15px; }if you have set in quick css ( or advanced styling) different attributes than the default ones (f.e. font-size) then you have to adjust it to your needs.
April 28, 2024 at 2:40 am #1441108Hello,
I am using a child theme. In the past I have uploaded the latest version through FTP and everything worked fine, I didn’t have to do anything with the child theme before.
How do I update the child theme template files?
To answer your question, once I upload the latest version of enfold and activate the child theme it crashes. This is what I have always done in the past and everything worked.
Thank you for your help.
April 27, 2024 at 10:43 pm #1441092In reply to: WooCommerce categories grid
-
This reply was modified 1 year, 11 months ago by
-
AuthorSearch Results
-
Search Results
-
Topic: Custom post type in masonry
Hi,
I’m currently in the process of migrating our old website onto a new website that’s developed with Enfold. On our old website, we had a few custom post types. I’ve created these post types on the new website using “Custom Post Type UI” and migrated all posts from the old site using the WP import/export tool.
I want to display these posts in masonry on my new site. I’ve followed this topic link to do so. However, even though I’ve put and customized the snippet in my functions.php file and created a custom taxonomy for the post type, when I select this taxonomy from “Display entries from: Category: Case studies,” it doesn’t display any posts in my masonry, even though the custom post type “Case studies” has a few posts already added.
What can be the problem? Am I missing something or did something change since the linked post?
Thanks in advance.
Hey Enfold team,
I´d like to use YouTube hyperlinks for my website that leads to the YouTube website in a new browser tab.
If I insert a YouTube hyperlink, the corresponding video will automatically open on my site.
Although the automatic playback of the video is a stylish function, it is unfortunately a data protection problem in Germany.
So please let me know how to prevent it.Thank you very much in advance.
Best regards,
fkm




