Posts by Digo Ribeiro • 104 points
15 posts
-
1
votes1
answer50
viewsA: Customizing Custom Post Type Wordpress Screens
In case you wanted more "hard". You can create this at hand. There’s this one generator here that can help you. If you want something simpler some plugins that can help you. The ACF and the Meta…
-
0
votes1
answer140
viewsA: Wordpress - Contact form 7 does not work with jquery DOM
The idea is you involve your script like this: jQuery(document).ready(function($) { $(document).ready(function(){ $('.abas').on('click', function(){ var paginas =…
-
0
votes2
answers107
viewsA: Modify wp-login.php content
A "simple" way to do this is by redirecting the login to a custom page, and there you make the modifications you need. Search in the Codex wp_login_form(). That one article can also give you a light…
-
1
votes1
answer770
viewsA: How to align UL items on the same line?
Error 1. You are repeating ul in your loop. Solution. Repeat only the li in your loop Error 2. Are you using diplay: table in css. Solution: You can use, diplay: inline or flexboxto solve this…
-
0
votes2
answers134
viewsA: How to break a line within a link in Cakephp
I don’t work with cake. But I believe you can put a class in the link. ex: class="link-block". If yes, you do it and put it as a block. .link-block { display: block } . In his css.…
-
0
votes1
answer32
viewsA: Grid with loop breaks in wordpress! Foundation6 usage as framework
You have a few ways to do this. Using a type grid plugin that If the grid is always the same size, you can set a fixed height. In the code you put miss a div with the class 'Row' to make the lines.…
-
0
votes1
answer56
viewsA: Wordpress slow and with database access errors
I don’t know if it’s been solved yet. But you forgot to put the wp_reset_postdata() at the end after the endwhile for more information on what to/why to use here Another thing I didn’t understand…
-
-1
votes1
answer104
viewsA: Email is not appearing in the field due in Angular
You can use the localStorage.getItem('emailLogin'); Put it in a variable. Example : $scope.email = $window.localStorage.getItem('emailLogin');
angularjsanswered Digo Ribeiro 104 -
0
votes2
answers310
viewsA: Page with different layout
Regarding the criteria... Ideally you read the Codex hierarchy documentation. For you to create different styles for pages you can create a Page Template. With it you can make different styles, have…
-
0
votes1
answer115
viewsA: Post thumbnails are not showing
You need to create the thumbnail "blog-page" in your php Function. If you don’t know how to do this, you can use one of those non-wordpress natives. <?php the_post_thumbnail( 'thumbnail' ); //…
-
3
votes1
answer117
viewsA: Return Wordpress Post
You don’t need to use "pure" PHP within Wordpress. He has the proper functions for this kind of thing. I advise to look at the Codex. For more details on. You will need to learn about Loop of…
-
3
votes3
answers284
viewsA: How not to run script on mobile devices. in Wordpress
The Wordpress itself has a method for this which is the wp_is_mobile(); With it you can do what you want with just one if(){}; Example: <?php if ( wp_is_mobile() ) { /* Seu codigo */ ?>…
-
1
votes1
answer663
viewsA: Error "Out of memory (allocated 248512512)" in wp-db.php
Hello, 256MB is a lot of memory for a script, so if you are exceeding, the first things to check for are some scenarios: An infinite loop that’s drawing its memory limit. Another thing... if you’re…
-
0
votes1
answer170
viewsA: Wait for images to upload to be shown
Voce can use the function load(); and fadeOut(); to make your div disappear. Sort of like this : $(window).load(function(){ $('#dvLoading').fadeOut(2000); }); Well, I hope I helped. Hug…
-
0
votes2
answers754
viewsA: I want to check if a link has been clicked and redirect it with Wordpress
If I understood your problem, you almost got there. In the footer of your site you will exbir the link normally and on the page of the Docs you will do the if <?php if (is_user_logged_in()):…