Forum Replies Created
-
AuthorPosts
-
You must have valid license to access this content.You must have valid license to access this content.You must have valid license to access this content.You must have valid license to access this content.You must have valid license to access this content.
FocuxTheme Support
KeymasterMaybe I understand. “random” is parameter orderby’s value which is provided by WordPress wp_query() function, I checked the official documentation, but there’s no method to do that. https://codex.wordpress.org/Class_Reference/WP_Query
You must have valid license to access this content.You must have valid license to access this content.FocuxTheme Support
KeymasterHi
1. You can install Loco translation plugin, then go to Loca translation > Themes > DGWork, create a new English language file, let’s say en_US, then you can search the text which you want to change, and change it.
2. Please add the following custom CSS into DGWork Options > Custom Code > Custom CSS
.no-results{ background:#fff; padding: 20px 30px 40px; box-shadow: 3px 3px 3px rgba(0,0,0,.04); }I will also fix this issue in the next version.
3. You can insert the following codes to anywhere you want
<?php if($post_type=='download'){ echo do_shortcode('[custom_vc_edd_product_grid posts_per_page="6"]'); } ?>If you use child theme, please copy template-parts/content-none.php from the parent theme folder to the child theme/template-parts folder. Then, edit this file, find the following codes:
<?php elseif ( is_search() ) : ?> <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'dgwork' ); ?></p> <?php get_search_form(); ?> <?php else : ?>
Replace to
<?php elseif ( is_search() ) : ?> <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'dgwork' ); ?></p> <?php get_search_form(); ?> <div style="margin-top:80px;"> <h2>Featured Products</h2> <?php if($post_type=='download'){ echo do_shortcode('[custom_vc_edd_product_grid posts_per_page="6"]'); } ?> </div> <?php else : ?>Thanks
FocuxTheme Support
KeymasterHi
Could you show me the steps for how to reproduce this issue? I don’t understand what mean about ‘rando’, you can tell me which page I should access to and then what I should do.
Thanks
-
AuthorPosts
