Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
SLogyc
tagDiv Member

Hi Bogdan B.,
The problem is solved.
Thank you for the answer !

SLogyc
tagDiv Member

Hello Andrei L.,
I read your response and I have learned a lot about get_post_neta () function with the link you gave.

Here is a link I found on Google by conducting a little research on the subject so that anyone interested Get YouTube video id from url in a custom field

Question resolved!
Thanks!

SLogyc
tagDiv Member

Hello Alin [tagDiv]
Thank you for your contribution !
I read and I loved your idea, but I found a solution:
I created a sidebar with automatic generation of sidebar of the theme admin panel, and then I used the shortcode Bogdan B. to display the generated sidebar that contains the block 4 and it works very well. Now I can put any blocks in my sidebar generated, under the posts, it will be well displayed without losing the style. I do not know if it is a clean tip, but you can tell me. Otherwise, it works very well.
Thank you for everything !
cordially

  • This reply was modified 9 years by SLogyc.
SLogyc
tagDiv Member

Bogdan B.,
I tried your suggestion and it really works! But, this idea becomes difficult when we want to update the block frequently. I wonder if it would not be better to give the possibility to create a sidebar in widgets for posts.
What do you think about that?
Codialement

SLogyc
tagDiv Member

Bogdan B. Hello!
Thank you for the quick response, clear and effective! I fully understand your suggestion, I applied to another project in the past.
I’ll try it!
cordially

SLogyc
tagDiv Member

Bogdan B. Hello!
Thank you for the quick response, clear and effective! I fully understand your suggestion, I applied to another project in the past. I’ll try it!
cordially

SLogyc
tagDiv Member

Hi
Thank you very much for that very clear and satisfactory answer. I’m glad to have you whenever I encounter a problem of understanding or information.
Problem fixed

SLogyc
tagDiv Member

@Alain [tagDiv], thank you for the advice. I just uninstall Wp-rocket to use WP Super Cache instead.
How to Uninstall WP Rocket: Before installing WP Super Cache, save the database, uninstall the plugin WP-Rocket, remove traces of WP Rocket in wp-config, use the plugin options Clean to remove all table options mentioning WP-rocket, remove the WP Rocket folder in wp-content / cache, delete advanced-cache.php.
The problem is now solved. Now I think I have to find an accommodation SSD to boost a little browsing my website using NewsMag. If you have any suggestions, I would be delighted to know them.
Best regards

  • This reply was modified 10 years by SLogyc.
SLogyc
tagDiv Member

Hello,
I followed your last council and it appears that it was my cache plugin that was the problem with my theme NewsMag. I do not know what I should do now. I use WP Rocket, Keycdn.
Thank you

SLogyc
tagDiv Member

Andrei L., thank you very much for your help! I have exactly the result I wanted.
Good luck to you all !

SLogyc
tagDiv Member

Andrei L. Hello, I tested the solution you suggest. This solution displays author_posts_url as http://www.exemple.com/author/author-name/. What I want to have as a result is http://www.exemple.com/my-profil/. Here is the cod used properly functioning:


<li class="menu-item">' . get_avatar($current_user->ID, 20) . '<a href="' . get_edit_user_link( $e->ID ) . '" class="td_user_logd_in">' . $current_user->display_name . '</a><i class="td-icon-logout"></i></code>
  • This reply was modified 10 years by SLogyc.
SLogyc
tagDiv Member

and custom link in css :


.td_user_logd_in {
  cursor:pointer;
}
  • This reply was modified 10 years by SLogyc.
SLogyc
tagDiv Member

Here’s what I’ve found yet. What do you think ?


<li class="menu-item">' .
    get_avatar($current_user->ID, 20) . '<a>ID ) .'" class="td_user_logd_in">' . $current_user->display_name . '</a><i class="td-icon-logout"></i>' .
  • This reply was modified 10 years by SLogyc.
  • This reply was modified 10 years by SLogyc.
SLogyc
tagDiv Member

Thank you all for your participation! I abandoned the idea. I currently use the plugin Theme my login and S2member.

Viewing 14 posts - 1 through 14 (of 14 total)