Forum Replies Created
-
AuthorPosts
-
Hey!
Oh OK. I didn’t notice your second post. Did you set the blog style to grid? If that is the case, use this code:
function custom_post_grid_query( $query, $params ) { $query['orderby'] = 'title'; $query['order'] = 'ASC'; return $query; } add_filter( 'avia_post_slide_query', 'custom_post_grid_query', 10, 2);
If you use blog style other than grid, you can follow the solution here: http://kriesi.at/documentation/enfold/change-the-sort-order-of-blog-posts-elements/
EDIT: Add conditional functions (example above: is_tax) if you want the filter to work for specific categories only.
Regards,
IsmaelHey!
This should work:
add_action( 'pre_get_posts', 'pre_get_posts_portfolio' ); function pre_get_posts_portfolio( $query ) { if( $query->is_main_query() && is_tax( 'portfolio_entries', array(40, 42) ) ) { $query->set('orderby', array('meta_value' => 'ASC', 'title' => 'ASC')); } return $query; }
Adjust the id 40 and 42 to the id of the portfolio categories in your installation.
Regards,
IsmaelHi endoradigital!
Thank you for using Enfold.
You can change the query by using this filter on functions.php file:
add_filter('avia_blog_post_query', 'avia_blog_post_query_mod'); function avia_blog_post_query_mod( $query ) { $query['orderby'] = 'title'; $query['order'] = 'DESC'; return $query; }
Refer to this link for more order and orderby parameters: https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
Best regards,
IsmaelSeptember 15, 2015 at 10:53 am in reply to: Sorting category links missing on portfolio page #503183Hi ist007!
Thank you for using Enfold.
Please provide the link to the actual portfolio page, we would like to check it. Make sure that you have the latest version of the theme, 3.3.2.
Regards,
IsmaelHi Alex!
Thank you for using Enfold.
1.) The filter is designated for google fonts only. You don’t need to use it in this case. Do the “Open Sans Local” font exists?
2.) If you use the font face rule, you can automatically apply the font on different elements in the theme via Quick CSS or css > custom.css file. Example:
body { font-family: 'Open Sans Local'; }
http://www.w3schools.com/cssref/css3_pr_font-face_rule.asp
Best regards,
IsmaelSeptember 15, 2015 at 10:47 am in reply to: Bug using Invisible Header (visible on scroll) and anchor links #503179Hi reisp!
Thank you for using Enfold.
There is no anchor links when I checked the page. Did you remove it? All menu items point to external pages.
Best regards,
IsmaelSeptember 15, 2015 at 10:43 am in reply to: Side nav displays below the page content on product grid page #503176Hi Edna!
Thank you for using Enfold.
I checked the page but it doesn’t exist. Please create a test page then we’ll check it.
Regards,
IsmaelHey dialedinmarketing!
Thank you for using Enfold.
You need to modify the config-templatebuilder > avia-shortcodes > events_upcoming.php file if you want to add a description or excerpt. Look for this code around line 150:
$output .= apply_filters('avf_upcoming_event_extra_data', "", $entry);
Below, you can add the excerpt code. Refer to this link for more info:
https://codex.wordpress.org/Function_Reference/get_the_excerpt
https://codex.wordpress.org/Function_Reference/get_the_contentRegarding the thumbnail, add this in the functions.php file:
add_action( 'after_setup_theme', 'ava_image_sizes', 11 ); function ava_image_sizes() { add_image_size('square', 845, 321, array('center', 'top')); }
Adjust the width (845) and height (321) value. Regenerate or upload the images after.
Best regards,
IsmaelHi!
Edit the color section containing the masonry element then look for the Section ID field. Apply a unique id, example “custom-section”. Add something like this in the Quick CSS field:
#custom-section .container, #custom-section .container .template-page { padding: 0; margin: 0; }
Best regards,
IsmaelHi!
Can you please provide a link to the actual post with the social icons? I checked a few posts but I don’t see the social icons. Did you install a third party plugin for the social icons?
Best regards,
IsmaelHi Manuel!
Thank you for using Enfold.
I’m sorry but what do you mean by “Google is a little bit special with this”? I think it will help if you review the google maps/google earth’s terms of service: https://developers.google.com/maps/terms?hl=en#7-permitted-uses
We’ll ask Kriesi to check this thread. For more info, please contact google.
Regards,
IsmaelSeptember 15, 2015 at 10:06 am in reply to: how can i change background to green and dont show "alt text" at images #503156Hey!
I’m sorry but I’m not sure I understand your inquiry. I think you’re talking about a different issue based on the screenshots. Can you please elaborate? For further modifications, please visit codeable: http://kriesi.at/contact/customization
Cheers!
IsmaelHey!
I tried to edit the page but it’s blocked because you’re online or editing the page yourself. Please try to add this in a code block before or after the table:
#top .avia_pricing_minimal .pricing-table>li:nth-child(n+2) { min-height: 289px !important; } #top .avia_pricing_minimal .pricing-table>li:last-child { min-height: 100px !important; }
You need to add css media queries to adjust the height on smaller screens.
Cheers!
IsmaelHey!
Please add this in the Quick CSS field:
#top .av-large-testimonial-slider .avia-testimonial-meta .avia-testimonial-image {; margin: 0 auto !important; float: none; }
Regards,
IsmaelHey!
You can register the item’s purchase code here: https://kriesi.at/support/register/
Best regards,
IsmaelHi Saritedri!
Thank you for using Enfold.
How did you apply the background? Please provide a link to the actual page. You can use css media queries to alter the style on different screen sizes. https://responsivedesign.is/develop/browser-feature-support/media-queries-for-common-device-breakpoints
Best regards,
IsmaelHey Saritedri!
Thank you for using Enfold.
Can you please provide a screenshot or an example of what you have in mind? If you want to create a page with a list of portfolio categories, try the Image element separated by column layouts. Set the link manually to the individual portfolio category pages.
Use the Portfolio Grid element in order to create different portfolio category pages.
Best regards,
IsmaelHi!
Thank you for the info. You can try the “.header-scrolled” selector. Example:
.header-scrolled .logo { // STYLE HERE }
Regards,
IsmaelHi babayard!
Thank you for using Enfold.
I’m sorry to hear this. Please change the site’s passwords every now and then. What do you mean by “updates to theme may also change permissions…”? 755 value should work for automatic theme updates. If not, you can update the theme via FTP.
Cheers!
IsmaelHey!
Thank you for using Enfold.
You can add a color section or full width easy slider at the top then add a grid row element below. However, you can’t specify the height of the elements base on window height. It will require a few custom jquery scripts. Please visit codeable: http://kriesi.at/contact/customization
Regards,
IsmaelHi larsy87!
Thank you for using Enfold.
The site is probably using a very old version of the theme. Please update the theme to the latest version, 3.3.2. Unfortunately, we can’t help you trace back the modifications made on the theme. Please use a child theme or create a change log of the script changes and modified files.
Regards,
IsmaelHi!
Can you please provide a screenshot of the layout you’re after? The script should apply the height of the window screen minus the height of the header and title container. I added the code on function.php and it works OK.
Best regards,
IsmaelSeptember 15, 2015 at 9:30 am in reply to: Place an image betwen the top of page and the header #503134Hi!
The code looks good. You can find the id when you edit the page. Inspect the url in the browser’s web address area, you’ll see something like this:
http://yoursite.com/wp-admin/post.php?post=226&action=edit
The “post=226” part of the url is the page id. Please post the login details here. We will add an example for you.
Regards,
IsmaelHey!
I’m not logged in when I post the comment. Check the link above. Look for “Test”. Regarding the notification, there is no default option for that so you will have to use a plugin like this: https://wordpress.org/plugins/send-email-only-on-reply-to-my-comment/
EDIT: I can see the issue now. Please use this in the Quick CSS field:
.comment-respond .required { display: none !important; } .comment-respond label:after { content: ' *'; }
Regards,
IsmaelHey!
1.) Yes, that is possible. Please provide the embedded url.
2.) We will report this issue to Kriesi. It seems to be an issue on mobile devices with retina displays. Rest assured that the buttons will work on other mobile devices.
EDIT: Please try to add this code in the Quick CSS field to fix the button:
.avia_mobile #top .av-parallax { position: absolute !important; }
Remove browser cache then reload the page.
Cheers!
IsmaelHey!
The code is not working because the > is converted to its html entity. Please copy the code directly from the forum, not from your email. We fixed the code for you. Remove browser cache then reload the page.
Cheers!
IsmaelSeptember 14, 2015 at 7:19 am in reply to: Listing of blog posts centered when not using sidebar in portfolio #502500Hi!
The sidebar is hidden when I checked the page. Maybe, you’re referring to the gap next to the main content. Add this in the Quick CSS field:
.single-portfolio .container .av-content-small.units { width: 100%; }
Regards,
IsmaelHi!
I’m sorry but I didn’t see any flags when I visited the page. Please activate it then we’ll provide a possible fix. Try to reposition the language switcher with this:
@media only screen and (max-width: 767px) { .avia_wpml_language_switch { position: absolute; top: 0; right: 20px; } }
Cheers!
Ismael -
AuthorPosts