Forum Replies Created
-
AuthorPosts
-
AlbertoParticipant
@Theme Horse, you do not answer me?
In summary: when I open a menu page, the menu item must change color. Pseudo class: focus
AlbertoParticipantI solved, I didn’t understand exactly what happened.
The word l’inseguimento was written in the article, I removed the single quote and the problem is gone. Then I put the single quote back on and the problem never came again.AlbertoParticipantI fixed it, it was the Safari browser cache, I used the OnyX app.
AlbertoParticipantI see that this problem show only Safari browser
AlbertoParticipantI solved it, it was a css problem.
AlbertoParticipantSOLVED!
I made a small change to my code.
AlbertoParticipantSOLVED!
Now there is also the link:
<?php if (1 == get_comments_number()) { printf(__('<a href="' . get_permalink() . '#comments"> 1 commento</a>', 'wp-portfolio') , number_format_i18n(get_comments_number())); } else { printf(__('<a href="' . get_permalink() . '#comments"> %1$s commenti</a>', 'wp-portfolio') , number_format_i18n(get_comments_number())); } ?>
AlbertoParticipantI put this code in the file you told me, line 147, you can see here https://albertifoto.altervista.org
I would have liked to add the link to the comments, but I failed.
I tried the code in the child functions.php but it doesn’t work.<div class="commenti-anteprime"> <?php if (1 == get_comments_number()) { printf(__('One thought on “%2$s”', 'wp-portfolio') , number_format_i18n(get_comments_number()) , '<span>' . get_the_title() . '</span>'); } else { printf(__('%1$s thoughts on “%2$s”', 'wp-portfolio') , number_format_i18n(get_comments_number()) , '<span>' . get_the_title() . '</span>'); } ?> </div>
AlbertoParticipantOkay, tell me the files to edit that I do it
AlbertoParticipantSOLVED!
in the file ./inc/structure/header/extensions.php #35
Incomplete url:
...<img src="./wp-content/uploads/logo.png" alt="Portfolio">
Correct:
...<img src="https://site.com/wp-content/uploads/logo.png" alt="Portfolio">
AlbertoParticipantI’ve resolved.
In ./inc/structure/header-extensions.php I put url end imageAlbertoParticipantPage links are in the left column at the top (under the blog title).
AlbertoParticipantfocus on menu items when the page is open
AlbertoParticipantWp-Portfolio free. I solved, I imported the database.
AlbertoParticipantI solved but not completely. In the page source shows correct, but in google search it’s not good. You can see.
add_filter( 'pre_get_document_title', function( $title ) { if ( is_home() || is_front_page() ) { $title = get_bloginfo( 'description' ) .' - Portfolio | '. get_bloginfo( 'name' ); } return $title; } );
-
AuthorPosts