Hey Monsoon!
The code can be found in /wp-content/themes/enfold/includes/related-posts.php – we use a tag query to query some posts which share one or more tags with the current post. Sticky posts are ignored and the order is set to “random”. If you want to modify the query parameters (i.e. order the posts by title or date search for
$my_query = get_posts(
array(
'tag__in' => $tag_ids,
'post_type' => get_post_type($this_id),
'showposts'=>$postcount, 'ignore_sticky_posts'=>1,
'orderby'=>'rand',
'post__not_in' => array($this_id))
);
and change the query parameters based on your requirements. Adding a different unique page or an ad is not possible without rewriting/customizing the related posts template. I recommend to search for third party ad plugins which allow you to embed the ads with shortcodes into the post content. Then you could add the shortcode at the very end of the post to show some ads above the related post section.
Regards,
Peter
Hi Weka!
1+2) Use following code css code
.header_color .header_bg{
background-color: rgba(255,255,255,0.5);
}
for a semi transparent background color. The last value is the opacity value. It must be a value between 0 and 1 – i.e. 0.5 will create a semi-transparent background with 50% opacity.
3) Just revert your custom css code and clear the browser cache.
4) You can use the “Fullscreen Slider” instead of the “Fullwidth Easy Slider” (i.e. demonstrated here: http://kriesi.at/themes/enfold/homepage/home-v7-one-page-portfolio/ ). The fullsreen slideshow will always cover the entire screen.
Regards,
Peter
Hi guys,
It would be great if there was an “export data” option so that we don’t have to edit the xml file manually (which takes significant time and could cause errors, etc.).
This would be very helpful for those of us switching to child themes after having already setup our Enfold settings.
Thanks!
Ron
this also now centers the text :(
Is there a way to only align the gallery and not touch the text?
Hi
I received this error after adding text boxes and easy sliders to the Renovation page for http://www.fanfullaconstructions.com
Warning: trim() expects parameter 1 to be string, array given in /home/fanfulla/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow.php on line 448
How do I fix this, I have had this issue before so I rebuilt the page thinking it was because I cloned the 1/3 columns
cheers
Kinnear
Where do you add the “You might also like” section that can be seen on this page: http://kriesi.at/themes/enfold/2012/12/12/lorem-ipsum-dolor-sit-amet-consectetuer-adipiscing-elit-aenean-commodo-ligula-eget-dolor-aenean-massa/
and where do you manage it? I mean how do you decide which posts are picked up as in latest ones or oldest ones? What if I want a certain post from a different tag to show in that area but it is a different unique page or maybe an ad? Does that area only pick the same tags? Randomize them or are they only the latest posts?
It would be great if this was a widgeted area or a custom section like the footer that could be managed instead of being dynamically generated with little controls :)
Hi!
You can enable debug mode to see the shortcodes of your layout elements that you have build in Advanced Layout Editor. Please see documentation here http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Regards,
Yigit
Hola Josue, buenas noches (hora española ;)).
Me he estado leyendo el articulo y es complicado ubicar el problema que esta pasando, ademas que tampoco soy un experto en wordpress como vosotros.
Lo que esta claro es que la instruccion que me ha dado Ismael hace que el sistema funcione correctamente con el permalink “nombre de entrada” ya que sino habia veces que tambien daba errores en paginas que no eran del portafolio.
Con el permalink por defecto no lo puedo dejar porque sino WPML no funciona ya que la estructura por directorios y querer tener un SEO correcto lo desaconseja.
El error solo se esta produciendo en la parte de las “entradas del portafolio” que corresponde exclusivamente a enfold.
Os pediria a ver si le podeis hechar un vistazo. He borrado el .htaccess y se crea correctamente por el servidor Apache, su contenido es:
– no vaya a ser que falte alguna directiva.. –
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Un saludo!!!
Xavier.
Hey!
You can remove the breadcrumb using this on Enfold > Styling > Quick CSS:
.breadcrumb.breadcrumbs.avia-breadcrumbs {
display: none;
}
To change the button to circle, first, you need to add a unique selector for each Avia Elements. Edit functions.php, find this code:
if(isset($avia_config['use_child_theme_functions_only'])) return;
Below, add this code:
add_theme_support('avia_template_builder_custom_css');
Edit any avia elements like Buttons then scroll below. Add a unique css selector on “Custom Css Class” field. For example, add “awesome-button”.
You can add something like this on your custom.css or Quick CSS:
.awesome-button .avia-button {
border-radius: 40px;
padding: 20px;
font-size: 12px;
text-decoration: none;
display: inline-block;
border-bottom-style: solid;
border-bottom-width: 1px;
margin: 3px 0;
line-height: 0;
position: relative;
font-weight: normal;
text-align: center;
width: 40px;
min-width: 40px !important;
}
Regards,
Ismael
Hi!
If you want the search to only show Products in the search results, open functions-enfold.php, replace line 93:
$defaults = array('numberposts' => 5, 'post_type' => 'any', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false);
By this:
$defaults = array('numberposts' => 5, 'post_type' => 'product', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false);
Best regards,
Josue
Hi!
The slider use for the Landing Page Style demo is the LayerSlider plugin which is natively included with the theme. You can Import the dummy data to check the example slider. The background image dimension is 1700x470px. This is an example of the background image use: http://kriesi.at/themes/enfold/files/2013/04/floor.jpg
Watch this video to learn more about the LayerSlider: http://www.youtube.com/watch?v=ZY9SxVyugx4
Cheers!
Ismael
Hi!
You can use this to center align the gallery:
#top .fullsize .template-blog .post .entry-content-wrapper > * {
margin-left: auto;
margin-right: auto;
max-width: 1100px;
text-align: center;
}
.single .gallery {
display: inline-block;
}
Regards,
Ismael
Hi hellovlad_!
It isn’t included in the most recent version of the dummy data but once you’ve got your portfolio items set up following this guide:
http://kriesi.at/documentation/enfold/create-new-portfolio-item/
You can add in the masonry element like in this video and you’ll be most of the way there:
Cheers!
Devin
Hi, I have the latest version of wordpress and enfold.
I’m trying to create an entry portfolio and gives me allways error 404 when trying to access.
Can you help me?
http://coronatolive.com/portfolio-item/hola-2/
http://coronatolive.com/portfolio-item/hola/
Thank you!
Xavier.
Hello!
I’m trying to understand how the page Masonry Portfolio (as seen in the demo for Enfold) is set up so I can recreate it. As I import Dummy Content Data, I see almost all pages from the Demo, but not this one.
Is it possible to import this page as well?
thank you!
Hi!
Tbh I’ve never tried a domain mapping plugin but if you view the website source code you’ll notice that 30-50% of all links/urls point to https://codelessme.com/hazelwood/ – which tells me that the domain mapping doesn’t work properly.
Best regards,
Peter
Isn’t this something that should be handled automatically with a domain mapping plugin? Seems like a bit of a waste to have to do all this work to map a domain.
Thanks for taking a look at it Peter.
Hey David!
It seems like the stylesheet (and many other links, resources of third party plugins and images) are loaded from a different domain (https://codelessme.com/hazelwood/ although your domain should be https://hazelwoodsoapcompany.com/). I guess you didn’t migrate the database properly. Personally I recommend to use a tool like: WP MIGRATE DB to export the database from https://codelessme.com/hazelwood/ and before you export the database use the domain replace feature/option to replace all occurrences of “https://codelessme.com/hazelwood/” with “https://hazelwoodsoapcompany.com/” in the exported sql file. Then delete the database of “https://hazelwoodsoapcompany.com/” and import the new sql file which was generated by the ” WP MIGRATE DB” plugin.
Regards,
Peter
Hey there!
Actually, I’m more interested in the feature area slider on THIS demo:
http://kriesi.at/themes/enfold/
(Home v1 Landing Page Style).
How can I achieve this slider size and look? I’m not interested in all the moving parts…just the image and the SIZE of the image. Please advise on slider type and settings in order to achieve this look AND what my image size/dimensions need to be.
Thanks!
Okay, so I went back to theme forest and re-downloaded the files and re-installed them. And the odinhosting link was gone, but has been replaced with “Enfold Theme by Kriesi” I suppose there’s no way to get rid of that?
Can t do as this is an internal build
I think to test you only need to look at a fullwidth page and change
#top .fullsize .template-blog .post .entry-content-wrapper > * {
margin-left: auto;
margin-right: auto;
max-width: 1100px;
}
then add images to a gallery and you should see the image gallery being left justified because there is a Float left somewhere
Its really no big deal just that if you want to center like the title its rather difficult.
Happy New Year again :)
Hi Superbobrik!
Please add following code to Quick CSS in Enfold theme options under Styling tab
.title_container { display: none; }
Best regards,
Yigit
I solved it. enfold.css was deleted automatically. However, I wonder how this could happen!
Hello,
so far, Enfold theme has been working fine. Suddenly my site broke completely and it seems like stylesheets are not loading anymore. All my Headings and Colour schemes are affected.
I did not change anything. What happened?
Thank you!
-
This topic was modified 12 years, 2 months ago by
Maxim_HH.
Hey Dude,
I realize that your site has the copyright text in the theme file – I want it there. My site is being hosted through HostGator, not odinhosting.com. As I previously stated, I have already re-downloaded the theme from themeforest to overwrite the files. In fact, to be safe I completely re-installed WordPress and Enfold only to find the link there again. This link only appeared on pages created after your most recent update (Version 2.4.3). The ones created before did not have the malicious link. Others in this forum have made note of this link appearing as well. Please help.
Hey totofunk!
You can clear out the styles by adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:
.special_amp {
font-family: inherit;
font-style: normal;
font-size: inherit;
line-height: inherit;
font-weight: inherit;
color: inherit !important;
}
Or in the functions-enfold.php you can comment out the avia_ampersand function.
Best regards,
Devin
Glad we could help. Let us know if you have any other questions or issues.
Hi,
How should set Enfold to be completely responsive on an iPad? The landscape mode is no problem but in portrait mode the menu in the header gets meshed up with the logo. I can solve it by choosing the option with the menu beneath but I don’t want to do that. Please advise.
Regards,
Ying-Fu
Hi guys,
Ran into a strange problem. Take a look at http://hazelwoodoapcompany.com and add something to the cart then checkout https://hazelwoodsoapcompany.com/store/shopping-cart/shipping/ EVERYTHING is being stripped. For some reason my multisite install did not switch image URL’s to hazelwoodsoapcompany.com and is instead retaining the original network URL for images. I am working on fixing that, but otherwise, all the quick css edits are not being applied to https:// any ideas?