Posts by Brício Fernandes • 199 points
12 posts
-
0
votes2
answers145
viewsA: How to create a single page in Wordpress for a post-type?
Talk partner! all beauty? You can make specific single for post types this way below: single-testimonials.php single-consultorias.php single-training.php single-client.php Then you can follow with…
-
0
votes5
answers217
viewsA: Overflow of text in flex elements
Hello, Do it that way, buddy. <style> .wrapper { width: 300px; height: 500px; background-color: aqua; } .flex { display: flex } .flex .truncate { min-width: 0; flex:1; white-space: nowrap;…
-
0
votes1
answer23
viewsA: Solution to replicate wordpress posts
Luan, I’ve used this plugin WPEMATICO to pull posts from various external sites, let it be in Wordpress. For this, just you set the address of the site feed you want. It has the free version but, in…
wordpressanswered Brício Fernandes 199 -
1
votes1
answer51
viewsA: Thumbnails of the Categories
Talk partner, all beauty? Dude, I can do what you want with the plugin Advanced Custom Fields. Basically, I create a custom image field and then define its location, during the configuration of it,…
-
2
votes2
answers40
viewsA: Related Posts Wordpress
Talk partner, all beauty? You’ll get it this way below. In the single-courses.php of your theme, you should add: <?php $currentID = get_the_ID(); query_posts( array( 'posts_per_page' => 4,…
-
1
votes2
answers79
viewsA: Wordpress - How to remove search.php page and search only posts?
Speak, my friend, all beauty? It’s quite easy! Just add this code below in the functions.php of your theme, that pages will no longer be displayed in searches. if (!is_admin()) { function…
wordpressanswered Brício Fernandes 199 -
0
votes1
answer63
viewsA: Product filter on Woocommerce
Speaking partner. Dude, I think you could do with this plugin here: https://facetwp.com/ .. but he gets paid. I’ve done some nice things with him on projects. It’s very useful. Take a look at this…
-
1
votes2
answers1133
viewsA: How to create filters for categories with php and html to use in Wordpress page?
Caroline, all right? I needed to perform a type of filter like this once, and I managed to do it with a few steps. Come on: 1 - First you should download the Isotope plugin and then insert inside…
-
1
votes2
answers169
viewsA: Check if there are products on sale in Wordpress with Woocoomerce
Talk buddy, all right? So man, if I understand correctly, you can display your products on sale this way below: <?php if( woo_have_onsale_products() ) { ?> <?php echo…
-
0
votes2
answers112
viewsA: Registration wordpress letter uppercase
You can do it this way: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script> $(document).ready(function() {…
-
0
votes1
answer62
viewsA: How to change wodpress paging to load more
Speaking partner! You will replace that standard Wordpress pagination by the following code: <div class="fetch"> <?php next_posts_link( __( 'Carregar mais posts', 'nome-do-tema' ) ); ?>…
-
1
votes1
answer53
viewsA: Login Page Wordpress
Buddy, I already did it once and it was that way down: <?php global $user_login; // Login form arguments. 'redirect' => ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] .…
wordpressanswered Brício Fernandes 199