Tried to add font zip file from fontello.com
This is what I get:
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Premature end of data in tag h1 line 1 in /home/chris231/public_html/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 177
Warning: simplexml_load_string() [function.simplexml-load-string]: <h1 style=’color:#497A97;font-size:12pt;font-weight:bold’>404 – Not Found in /home/chris231/public_html/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 177
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/chris231/public_html/wordpress/wp-content/themes/enfold/config-templa
Hey rodpascoe!
Try with this, open this file /config-templatebuilder/avia-shortcodes/masonry_entries.php:
Replace this line (287):
$query = array( 'orderby' => 'date',
By this:
$query = array( 'orderby' => 'rand',
Cheers!
Josue
-
This reply was modified 12 years, 5 months ago by
Josue.
google suggests to insert this script in homepage :
Google+
so how can this be done without hacking php files ? (that will be overwritten in theme updates…)
can we use “Google Analytics Tracking Code” field in theme panel to insert this code ?
thx!
Hi!
Regarding the logo element, yes that would be it.
For the page/single titles, actually you’ll need to edit this file: functions-enfold.php:
Change line 274:
'heading' => 'h1'
To this:
'heading' => 'h2'
Cheers!
Josue
Hey SwipeMedia!
Please try to re-upload all other theme files – maybe another file was modified accidentally and now the theme doesn’t work. Also make sure that the server really overwrites the files (i.e. set the file permission to 777) and that no cache is active (clear he browser cache and the W3TC or Supercache cache if necessary).
Cheers!
Peter
OK, I have found solution – “rows” parameter in this line:
$this->elements_html .= ‘ <textarea name=”‘.$id.'” class=”text_area ‘.$element_class.'” cols=”40″ rows=”7″ id=”‘.$id.'” >’.$value.'</textarea>’;
in class-form-generator.php file located here: ./wp-content/themes/enfold/framework/php/
But the question is how to embed this change into child theme?
Hi!
It’s unfortunately a limitation/bug of wordpress: http://wordpress.stackexchange.com/questions/87472/ensuring-sticky-posts-are-retrieved-first-without-using-two-queries
You can try to add following code to the functions.php file of the theme
add_filter('the_posts', 'bump_sticky_posts_to_top');
function bump_sticky_posts_to_top($posts) {
foreach($posts as $i => $post) {
if(is_sticky($post->ID))
{
$stickies[] = $post;
unset($posts[$i]);
}
}
if(!empty($stickies))
return array_merge($stickies, $posts);
return $posts;
}
which is a slightly modified version of the workaround someone posted here: http://wordpress.stackexchange.com/questions/87472/ensuring-sticky-posts-are-retrieved-first-without-using-two-queries but it doesn’t work for me very well. Another solution would be to use a plugin like http://wordpress.org/plugins/post-types-order/ which allows you to manually sort the posts but the disadvantage is that you need to check the sort order after you published a new post.
Regards,
Peter
I’d love you to have a look, I’m just working on the front page style, the content of portfolio single pages isn’t sorted out yet. http://ccrasa.com.
As I’m still experimenting, parts that may end up transparent may have a solid fill, and visa versa.
I want to build a page with an animated gif background , and some boxes (links) float in from the sides or ease in a ‘sexy’ way. The Layer Slider is absolutely amazing, but on smaller screen sizes it would shrink down and the selectable links and the text on them would be miniscule. That’s why I’m trying the portfolio grid.
Thanks for the plugin link. I installed but maybe my server didn’t meet the requirements stated, as I only got the first admin screen. so, I tried the plugin “Background Manager” but I got “requires PHP version 5.3.0 or better, but version 5.2.17 was detected“. A quick chat with the hosts’ techies and they updated the php version.
Now that I’m using Background Manager I have placed a test background image on the front page. The plugin you suggested allowed (required) the naming of the div to which the background would be applied, which sounds great, maybe my hosting will catch up one day. The requirements for that one were “PHP 5.2.4 + and MySQL 5.0+. In addition your hoster/server must allow/support the php eval() function and must support the wp_remote_get() and cUrl function” Perhaps they would upgrade all of those other bits also but I haven’t asked as I’ve found the solution I needed with the other plug-in.
At first the background only appeared below the footer as the divs above it must have had a white background. I tried identifying these divs in FireBug and giving them transparency with rgba color values but I was failing. I then went to the Styling section of the Theme Options. It came flooding back to me from customising Propulsion how the color boxes don’t accept the typing of rgba, but if you paste it there it stays. The only difference is that Propulsion gave control over the degree of transparency, whereas Enfold is looking at any rgba value and making it totally transparent. It also came flooding back how the automatically generated text colours become very wierd once you have applied some rgba values.
I need to identify divs to see if I can apply partial transparencies from the Child Theme css, and also control the wild colours that are coming up. I received great help from you last time in identifying these divs.
I also needed to make some space between the portfolio grid entries so that a little more of the background would show through.
Interesting is that when I give .grid-entry a margin (I did it in the Quick CSS facility) .grid-entry {margin:15px ;} it only creates a space below but not to the left or right of the grid entries.
In the end I made the graphic on the grid-entries (portfolio featured image) with a surrounding transparent area.
I need to lose the drop shadow on .grid-entry but I’m not sure how to do that. I’ve tried .grid-entry { border-style: none; } but it seemed that there wasn’t a border anyway, just a drop shadow.
Last thing would be to have the text boxes on the portfolio entering the page or easing in way that’s a bit ‘sexy’ with a script. Do you any tips here please, I’m pretty new to animating stuff.
Thanks
Tim
-
This reply was modified 12 years, 5 months ago by
KingConga.
This reply has been marked as private.
Hi Chubby!
Open: /enfold/functions-enfold.php
Change line 274:
'heading' => 'h1'
To this:
'heading' => 'span'
Cheers!
Josue
Hi,
I just bought the theme today and one of the big selling points for me is the demo shows in CSS checking as using only one style sheet. The link I tested from:
http://www.feedthebot.com/tools/css-delivery/req.php?url=http%3A%2F%2Fkriesi.at%2Fthemedemo%2F%3Ftheme%3Denfold
shows:
External CSS files
Good job.
1 external CSS files found:
– selector/styles.css
Inline CSS
no inline CSS found.
CSS attributes in HTML elements
example: <div style=”this or that”> or <p style=””> etc.
no in element CSS found
CSS @ imports
@ import not detected – good
Once I installed it on our server I get this:
http://www.feedthebot.com/tools/css-delivery/req.php?url=mosfoundation.org
External CSS files
Too many CSS files. Solution? combine them into one.
14 external CSS files found:
– https://mosfoundation.org/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/css/avia-media.css?ver=3.7.1
– https://mosfoundation.org/wp-content/themes/enfold/config-bbpress/bbpress-mod.css?ver=3.7.1
– https://mosfoundation.org/wp-content/themes/enfold/css/grid.css?ver=1
– https://mosfoundation.org/wp-content/themes/enfold/css/base.css?ver=1
– https://mosfoundation.org/wp-content/themes/enfold/css/layout.css?ver=1
– https://mosfoundation.org/wp-content/themes/enfold/css/shortcodes.css?ver=1
– https://mosfoundation.org/wp-content/themes/enfold/js/prettyPhoto/css/prettyPhoto.css?ver=1
– https://mosfoundation.org/wp-content/themes/enfold/js/mediaelement/skin-1/mediaelementplayer.css?ver=1
– https://mosfoundation.org/wp-content/uploads/dynamic_avia/enfold_child.css?ver=1
– https://mosfoundation.org/wp-content/themes/enfold/css/custom.css?ver=1
– https://mosfoundation.org/wp-content/themes/enfold_child/style.css?ver=1
– https://mosfoundation.org/wp-content/themes/enfold/config-gravityforms/gravity-mod.css?ver=1
– https://mosfoundation.org/wp-content/themes/enfold/config-layerslider/LayerSlider/css/layerslider.css?ver=4.6.5
– https://fonts.googleapis.com/css?family=Open+Sans:400,600
Inline CSS
multiple inline CSS blocks found.
– This can be normal, but it is worth knowing about.
CSS attributes in HTML elements
example: <div style=”this or that”> or <p style=””> etc.
41 in element CSS found
CSS @ imports
@ import not detected – good
I have tried BWP Minify and W3TC and both fail even when I am only working with the CSS style-sheets in the enfold directory. I did setup a child theme, but nothing is there but a style.css file. I am guessing there is a specific order to getting the same results as the demo, can you please provide the setting being used by BWP Minify, in the demo, for CSS and java-script, because that will be the next setup I need to get done.
The site URL is:
http://www.mosfoundation.org
Thanks,
Dave
-
This topic was modified 12 years, 5 months ago by
dmpitzer. Reason: links did not show
Hey!
@claudernest17 – yes, but if you use the “Default Editor” WordPress will use the default page.php template. If you modify it (like described here: https://kriesi.at/support/topic/enfold-comments-on-pages/ ) WordPress should show the comment form at the end of the page after the page content. If you activate the “Advanced Layout” editor WordPress will not use the pagephp template and the comments won’t work at all.
@grpetz – we plan to implement it with one of the next theme updates but we didn’t look into it yet. In fact we can’t even promise this feature because we may stumble over technical problems which we can’t solve.
Best regards,
Peter
Hey!
Did you fix the issue? The portfolio grid links work for me just fine now: http://www.screenr.com/TnbH
However I noticed that the server sometimes responses very slow. As soon as I load the page one time it’s cached in the browser and loads fast afterwards. I.e. if I open http://www.taylorezell.com/photos/africa-gallery/ directly the browser will cache the website content and as soon as I access this page from http://www.taylorezell.com/photos/ it will load very fast, otherwise it takes probably a minute or so until the server sends the data. I’m not sure what causes the issue – maybe your hoster can provide a php error log which helps us to find the culprit.
Regards,
Peter
Hi!
I just installed Worpress and Enfold, I added a photo and some text tot he main page and when I went to create a porfolio category this happended:
Warning: extract() expects parameter 1 to be array, null given in /home/valok776/public_html/wp-content/themes/enfold/css/dynamic-css.php on line 35
Warning: Cannot modify header information – headers already sent by (output started at /home/valok776/public_html/wp-content/themes/enfold/css/dynamic-css.php:35) in /home/valok776/public_html/wp-includes/pluggable.php on line 899
The page is http://www.valokuvauskurssi.fi
What’s the problem and what can I do?
This reply has been marked as private.
Hi Peter, thanks for your reply. It works, but since the image is added in header.php the image appears in all the rest of the pages, just without the css class. I tried adding a display: none to an extra class without .home in front but then the bottle disappeared everywhere. I’m missing something here. Hope you can help. This is what I tried:
.home .bottle{
width: 153px;
height: 737px;
position: absolute;
left: 75px;
top: 54px;
z-index: 1000;
}
.bottle{
display: none;
width: 153px;
height: 737px;
position: absolute;
left: 75px;
top: 54px;
z-index: 1000;
}
Best regards
/Michael
Hi aka61997!
Look this file in your theme directory, and open it: single-portfolio.php
Search for this line (26)
get_template_part( 'includes/loop', 'portfolio-single' );
Then add this below it:
comments_template( '/includes/comments.php');
Final code:
get_template_part( 'includes/loop', 'portfolio-single' );
comments_template( '/includes/comments.php');
Regards,
Josue
Well, that’s a start. But not completely there. So, I decided to dive in myself. To make the entire .avia-icon-list-container take up less content area requires substantially more CSS involving edits to the children H4, P, line-heights, margins and various other things. It’s a matter of taste and you will have to fiddle with several things to make it work for your site. I offer some code snippets and comments to aid you in doing what you want, along with before and after screen captures to see what the results will look like. I am not completely sold on what I made here and think it can be tweaked more, but it should give you the nuts and bolts to get the job done for your site. Please note that .page-id-734 class relates to my installation here. Your mileage may vary. You may want to change things globally, or perhaps you can make a Class wrapper to selectively control specific Icon Lists within the Icon List page editor. Enable the custom CSS Class settings in your functions.php file in your child theme for the latter. Search this site for the code block to enable that feature.
In my opinion, there should be some options on the back-end for doing this automatically as mentioned in my previous post above. If you folks at Kriesit.at want to use this code base as a baseline for improving a more automated method, I think folks will welcome it.
Cheerios and good luck.
.page-id-734 .avia-icon-list LI
{
/*
margin-top: minus top property tightens up the spacing between each topic item
margin-left: minus left property shifts the entire icon list container back to the left due to the margin-left settings in .iconlist_icon that recentered the dotted lines
*/
margin: -20px 0 0 -17px;
}
.page-id-734 .avia-icon-list .iconlist_icon
{
height: 40px;
width: 40px;
font-size: 22px;
line-height: 40px;
/*
margin-left: Important to do here - recenters the dotted line
margin-right: gives space right of the circle for adjacent text
*/
margin: 0 30px 0 13px;
}
.page-id-734 .avia-icon-list-container .iconlist_content
{
font-size: 12px;
/*
line-height: tightens up paragrapgh content under the item heading
*/
line-height: 17px;
}
.page-id-734 .avia-icon-list-container H4
{
/*
Resizes the Item Heading
*/
font-size: 13px;
}


Hey allegrabillings!
Please open up wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\masonry_entries.php and delete the entire code. Then paste the code from: https://gist.github.com/InoPlugs/1ce9b14b6c37e93015e5
Regards,
Peter
Hi!
1) I updated WP to v3.7.1 and the gallery seems to work now. Before I got this error message
Uncaught SyntaxError: Unexpected token ILLEGAL load-scripts.php,qc=0,aload,P5B,P5D=jquery-ui-core,,jquery-ui-widget,,jquery-ui-mouse,,jquery-ui-so…:31
2) Please try to install and configure a smtp plugin: http://wordpress.org/plugins/easy-wp-smtp/ – we use the wp_send function to send the emails and it should be compatible with our theme.
Regards,
Peter
Greetings,
First of all, thank you for the wonderful Theme. Its just amazing how easy it is to make a website with this theme!
Here’s a problem that I’ve been trying to solve for several days and couldn’t figure out so here I come to the forum to get some help.
I’m having problem having the icons from the icons list display in the backend. When I select any of the Icon (that does not display properly) and save and publish the page, then the icon does appear on the fron end of the website. So the Icons its self is there and appearing, I just cannot see the preview of icons when I’m trying to “choose” which icon to use. When I first installed the theme, I was able to see the theme, but along the way they stop displaying… what did I do?! :(
here’s an image
http://tinypic.com/r/2ng7g3l/5
I’ve looked through the forum and and tried a few different things,
・updated the theme to most recent 2.4
・uploaded new fonts from fontello
・deleted cashe
but these didn’t seem to do the magic.
I’m guessing there’s an issue with some of the PHP files, but unfortunately I’m not the most code illiterate to figure this out on my own. I would love to use these amazing sets of icons…(only if I could know which one they are!) Any ideas on what maybe causing this problem?
Thanks in advance,
Neo
This reply has been marked as private.
Hi, Logged into admin i see this error when uploading a new plug-in
Warning: Missing argument 3 for wpseo_upgrader_process_complete() in /home/suicider/public_html/wordpress/wp-content/plugins/wordpress-seo/inc/wpseo-non-ajax-functions.php on line 259
Do I need to take action or shall I ignore this error for now?
I would like to accomplish this same thing Peter provided here…
https://kriesi.at/support/topic/display-media-item-title-instead-of-media-item-description-in-lightbox/#post-178730
but for it to happen in the new masonry galleries.
the code change in gallery.php doesn’t translate over to the masonry_gallery.php simply. I can’t find the code below to swap
//$title = trim($attachment->post_title) ? esc_attr($attachment->post_title) : ""; original code commented out
//$description = trim($attachment->post_content) ? esc_attr($attachment->post_content) : ""; original code commented out
$description = trim($attachment->post_title) ? esc_attr($attachment->post_title) : "";
$title = trim($attachment->post_content) ? esc_attr($attachment->post_content) : "";
So the change must be different. I want to display the media item title in the lightbox when it is viewed. That way If I turn off the hover effect that displays the media title there is still away for the viewer to see the image title when viewing the lightbox.
My site is http://jackandaddi.com/gallery/rykowski-family/
And please account for the change to take place in a child theme setup.
thank you.
Hey!
Please add this on functions.php:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Dosis'] = 'Dosis:400,500,600,700,800';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Dosis'] = 'Dosis:400,500,600,700,800';
return $fonts;
}
What elements or text are you trying to change? You can manually apply the font to them if the above code itself doesn’t work.
h1, h2, h3, h4, h5, h6 {
font-family: 'Dosis', sans-serif;
font-weight: 500;
}
Cheers!
Ismael
This reply has been marked as private.
Hi!
Try the following – open up /themes/enfold/config-templatebuilder/avia-shortcodes/slideshow.php and replace line 379:
$link = wp_get_attachment_image_src($slide->ID, $this->config['lightbox_size']);
with
$link = wp_get_attachment_image_src($slide->ID, 'full');
Best regards,
Josue
Hi,
I’ll add some modifications, the proposed solution fails when viewing the page on mobile devices.
Then I remembered that CSS often makes our lives easier, so the final solution, in my case, is this:
1. Make a copy of header.php and paste it in your child theme
2. Copy line 100: “”
3. Paste it on line 181
4. Upload header.php
5. In your child custom style sheet, paste this together with the styles necessaries to make it look good:
6. Double check tablets resolutions, mobile, etc… and add more responsiveness if necessary
/* Hide Header Meta from both screenreaders and browsers */
.responsive #header_meta {
display: none !important;
visibility: hidden;
}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
#header_main .container ul.social_bookmarks {
display: none !important;
visibility: hidden;
}
.responsive #header_meta {
display:block !important;
visibility:visible;
}
}
Upload & done.
I need to have woocommerce installed for my project and I am receiving this error when trying to activate it. It shows a blank screen and I have to remove it via FTP so I can see the dashboard again.
Wordpress 3.7
Enfold 2.4.1
Woocommerce 2.0.18
Debug Error Message…
Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/bodybyle/public_html/wp-includes/functions.php on line 3060
Is there anyway to fix this issue? can provide login details if necessary.
Thanks again
Kind regards
Brian Turner