12 comments found.
Hello, I get the following error after install:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'remove_img_width_height' not found or invalid function name in /Applications/AMPPS/www/shotofsocial.com/wp-includes/class-wp-hook.php on line 300
I found a function online from another WordPress project that had the same function name, and a placed it in the theme’s function.php file verbatim as so:
function remove_img_width_height( $html, $post_id, $post_image_id,$post_thumbnail) {
if ($post_thumbnail=='thumbnail'){
$html = preg_replace( '/(width|height)=\"\d*\"\s/', "", $html );
}
return $html;
}
Any idea why the theme file doesn’t ship with a function it tries to call? Am I missing a pre-requisite of any kind?
Thanks!
Hi there! Thanks for writing and use our theme!
Yes, you are right, a filter with a function name is defined but it is not present in all WordPress installation, so as the filter is unused, it can be removed
We have just sent an update to Themeforest (version 1.0.3). Meanwhile, if you prefer not waiting for the update is approved, you could delete the line 76 of gabriela/inc/extra.php file where the filter is added. Just delete this line and save the file.
Thank you a lot for notifying about this
Ricardo P. from SIloCreativo
Hi! I just bought your theme and I really like it, but the theme doesn’t automatically adjust to the chosen featured image. If I pick a vertical featured image it gets cut off. What’s happening? Help. Please see: http://nl.tinypic.com/r/23upfcz/9
Oops. See this screencap: http://www.budgetproof.nl/home/wp-content/uploads/2017/08/Schermafbeelding-2017-08-12-om-20.02.38.png
And I have another question. How do I highlight the text? Like you did in yellow on the demo site? See: http://www.budgetproof.nl/home/wp-content/uploads/2017/08/Schermafbeelding-2017-08-12-om-20.18.56.png < the yellow marking is what I mean.
Hello budgetproofnl, Thank you for writing and using Gabriela!
About images each post layout adapts accordingly to their featured images orientations (portrait, landscape, or square): https://i2.wp.com/www.silocreativo.com/en/wp-content/uploads/2017/04/flexible-layout.png See point 8 of doc for more info: https://www.silocreativo.com/en/documentation/gabriela/ About highlight text, you can get it using the ins tag, under the text tab editor: Select the text you want and use the “ins” tag: http://imagizer.imageshack.com/img923/6280/1GAHqn.pngHope this helps and thank you again! Ricardo P. from SiloCreativo
Thank you. Highlighted text: check!
About the images. They DON’T adapt accordingly to the featured image. If I select a vertical (portrait) image it gets cropped into a small landscape image like you can see here. http://www.budgetproof.nl/home/wp-content/uploads/2017/08/Schermafbeelding-2017-08-12-om-20.02.38.png < this (the yellow building) is originally a portrait (vertical) picture. How can I solve this? I bought the theme because of this feature, but unfortunately it doesn’t seem to work? Please let me know how to fix this.
And another (second) question: the highlighted text doesn’t show in the post preview on the homepage like in your theme preview demo. How do I fix that? Thank you.
Hi there!
About Featured images, short answer: You should regenerate your images thumbnails, using for example this plugin: https://wordpress.org/plugins/regenerate-thumbnails/You can regenerarte all your images or only the images that you are using as featured images and are causing issues.
Long answer: after uploading an image to WordPress, it automatically generates some thumbnails (cropped versions) of the original image: https://codex.wordpress.org/Post_Thumbnails#Thumbnail_Sizes
Then, the theme uses these thumbnails to show the images. This is great, because the original image could be very heavy (5mb for example) meanwhile thumbnail is lighter (some kbs). Each theme can set the thumbnail sizes relative to its design.
Gabriela takes the full image and resize it keeping the proportion (soft cropping) to feature them on the homepage. However this only happens when you upload an image after using the theme. If site has previous content, the old theme created the thumbnails, and in your case they were hard cropped without keeping proportions.
Gabriela looks the original image and get a vertical one, so then it prints the vertical format layout, but when it looks for the thumbnail, it gets the old theme thumbnails. For that reason if the blog has previous content and the old theme cropped images hard, then it is necessary to regenerate thumbnails.
Hope this helps
About excerpts: WordPress automatically removes any HTML tags from auto-generated post preview. To avoid this, you have two options
1. To use custom excerpts, as we do in the demo site, copying and pasting the html tags: http://imagizer.imageshack.com/img922/7500/aZ2F6Z.png (Aditionally you can install this plugin that adds HTML controls to your custom excerpt box: https://wordpress.org/plugins/rich-text-excerpts/)
2. To use this plugin to generate auto-excerpts with HTML tags enabled: https://wordpress.org/plugins/advanced-excerpt/Thanks again! Ricardo P. from SiloCreativo
hi there, how can I please move the menu to the middle like in your preview? on my website the pages in menu are aligned left. also please where can i change the “PROUDLY POWERED BY WORDPRESS | THEME: GABRIELA BY SILOCREATIVO.” thank you
..
Hello Kristian, Thank you for writing and using Gabriela.
If you hide the social menu on the header bar, the navigation menu will be shown centred. For this, go to Appearance > Customize > Theme Options and check the option “Hide Social Menu on Header Navigation”
If you want to keep the social menu on the header, then add this CSS instead of:
@media (min-width: 992px) { #navbar .menu-rtl { margin: 0 auto; padding-left: 140px; } }
Here you are how to add: http://www.silocreativo.com/en/modify-add-css-wordpress-theme/About the footer credits, just add your own text in:
Appearance > Customize > Theme Options > Your custom footer text
Hope this helps
Thank you again!
Ricardo P. from SiloCreativo
Very cool!
Thank you!
Ok, i have problems to display home screen as you present on demo. After installation everything looks fine but not exactly work. Should I install some plugins?
Hello alanpajek,
Thank you for writing and using Gabriela
Hope this helps and thank you again! Ricardo P. from SiloCreativo
Good work and good luck!
Thanks mate
Congratulations! Good Luck With Sale
Thanks
Congratulations! Nice Work, Good Luck With Sale
Thanks
Congratulations!
Amazing Work, Good Luck With Sale
Thanks
Congratulations! Excellent theme
Thank you!
Congratulations. Excellent theme. Good luck with the sales
Thanks
Looks good. Best wishes for the sales. DCSF
Thanks