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 :)
Thomas
tagDiv Member

OK thanks.

2 things:

1/ Before there was a nice 1px vertical bar in front of the box.
Strangely it is OK ni the event page (with the grey goog color) : https://www.virtualmagie.com/%C3%A9v%C3%A8nement/conference-de-chris-rawlins-paris/?instance_id=9092
but no more in the post: https://www.virtualmagie.com/articles/comptes-rendus/conferences-rencontres/conference-chris-rawlins-dimanche-24-novembre-paris/

Could I have the code to put it back in both page (grey line, line height 21px and text in grey)?

2/ And what I have to do to have the same thing in the product page: https://www.virtualmagie.com/boutique/conferences-ateliers/conference-chris-rawlins-dimanche-24-novembre-paris/

Thanks

Thomas
tagDiv Member

Hello Vlad

Like I wrote previously:
– wp_content/plugins/td-composer/legacy/Newspaper/parts/logged.php

I change and it didn’t change the link. ?

I Just check and the line is the same than in the mobile version.

<?php
//get current logd in user data
global $current_user;

echo '
	<div class="td-logged-wrap">
		<div class="td-menu-avatar"><div class="td-avatar-container">' .	get_avatar($current_user->ID, 80) .	'</div></div>
		<div class="td-menu-username"><a href="https://www.virtualmagie.com/profil">' . $current_user->display_name . '</a></div>
		<div class="td-menu-logout"><a href="' . wp_logout_url(home_url( '/' )) . '">' . __td('Logout', TD_THEME_NAME) . '</a></div>
	</div>

On mobile it works but not on computer.

Any idea why?

  • This reply was modified 6 years by Thomas.
Thomas
tagDiv Member

I found 2 files:
– wp_content/plugins/td-composer/mobile/parts/logged.php

I change and all is OK in mobile version :

<code><div class="td-menu-username"><a>ID) . '" class="td_user_logd_in">' . $current_user->display_name . '</a></div>

to
<div class="td-menu-username"><a href="https://www.virtualmagie.com/profil">' . $current_user->display_name . '</a></div>

– wp_content/plugins/td-composer/legacy/Newspaper/parts/logged.php

I change and it didn’t change the link. 🙁

Don’t know if it change with the 10th theme version?
What file do I have to edit?

  • This reply was modified 6 years by Thomas.
Thomas
tagDiv Member

It was a other persons who did it and didn’t give me the info. 🙁

I update the site yesterday.
When you log now when you click on your name the site goes to the https://www.virtualmagie.com/author/thomas-4/

And need that it go always for all people to https://www.virtualmagie.com/profil

How I can achieve that?

Regards

Thomas
tagDiv Member

Sorry but I don’t understand.
For years we change this 2 links in your theme.
It was quiet simple: open 2 files and replace some code by /profil
But till last update your regulary change the place of this code and files!
I only asking to have the name and place of the 2 files I have to edit to impact the change in the mobile and computer mobile.
Thanks

Thomas
tagDiv Member

Ok thanks
So if I understand to change tge link ONLY in the computer and mobile menu i only have to open the file td author block.Php?
And what sentence will have i change to point to /profil ?

Thomas
tagDiv Member

Hello Vlad

Maybe I was not clear.
We don’t want to do a redirection but change the URL.

In Newspaper theme, when your log, your name appears.

For now we still have to change in some Newspaper theme files the link.
A dev did for me but didn’t give me the info.
After the last update the link in the computer theme is still ok and send to the right URL /profil.
But not in the mobile version (notice we don’t have the Newspaper mobile plugin activate).

So my question is : I want to do the last update.
After that both links will no more send to /profil
Could you please tell me which 2 files I have to change ? In which folders and at what lines ?

Thanks

Thomas
tagDiv Member

I just paste the code like on your capture but it breaks another time the site! 🙁

/**
* tdStyleCustomizer.js is required
*/
if (TD_DEBUG_LIVE_THEME_STYLE) {
add_action('wp_footer', 'td_theme_style_footer');
// new live theme demos
function td_theme_style_footer() {
?>
DEMOS
BUY
<?php
}

}
add_action( 'after_setup_theme', 'yourtheme_setup' );
function yourtheme_setup() {
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );
}
//td_demo_state::update_state("podcasts", 'full');

Thomas
tagDiv Member

Thanks

Just tried to insert the code:

add_action( ‘after_setup_theme’, ‘yourtheme_setup’ );

function yourtheme_setup() {
add_theme_support( ‘wc-product-gallery-zoom’ );
add_theme_support( ‘wc-product-gallery-lightbox’ );
add_theme_support( ‘wc-product-gallery-slider’ );
}

and it crashed the site.

On wich line will have to insert it and how?

Regards

Thomas
tagDiv Member

Hello
I insert in funtions.php files this code :
add_action( ‘after_setup_theme’, ‘yourtheme_setup’ );

function yourtheme_setup() {
add_theme_support( ‘wc-product-gallery-zoom’ );
add_theme_support( ‘wc-product-gallery-lightbox’ );
add_theme_support( ‘wc-product-gallery-slider’ );
}

But don’t work anymore.
I tried to move the code position inside the file but no change.
Of course deleted the cache.

What I have to do?

Regards

Thomas
tagDiv Member

Great!
Of course, in the title, the correct word was bottom not top! 😉

Thomas
tagDiv Member

Ok thanks.
For those needed the code, here:

add_action( ‘after_setup_theme’, ‘yourtheme_setup’ );

function yourtheme_setup() {
add_theme_support( ‘wc-product-gallery-zoom’ );
add_theme_support( ‘wc-product-gallery-lightbox’ );
add_theme_support( ‘wc-product-gallery-slider’ );
}

Thomas
tagDiv Member

try to change the http with https

Ok thanks.
I hope you will do more than TRY… it is only add 2 caracters. ! 😉

Thomas
tagDiv Member

In fact, it’s Ok on all browsers but just have problem on my computer Win 10 Chrome.
Maybe just a browser plugin doing that?

Thomas
tagDiv Member

We also tried to change parts/header/top-menu.php

Thomas
tagDiv Member

Hi

All articles have features images.

From 15mn a inexplicable bug arrive on the site.

Menu is no longer ok and images don’t show.

I deactivate the cache plugin, rename the cache, rename the plugins folders and even renamed the htaccess: nothing change! 🙁

Please help, I never saw a bug like that.

Thomas
tagDiv Member

Great!
I just add underlin:none and it is now perfect.
Thanks

Thomas
tagDiv Member

Thanks but as you could see the button appear only on the hover.

THe idea is that old one have all the same look and hover than the new one like at the end the button “DĂ©couvre d’autres avis sur le DVD Mario LOPEZ sur le forum !” here https://www.virtualmagie.com/articles/tests/videomania/mario-lopez/ (the one on top of the orange newsletter block).

Here the code I actually insert in Custom CSS:

.td-post-content .vc_btn {
background-color: #f6600;
font-size: 18px;line-height: 1.33;
padding: 10px 16px;
border-radius: 6px;
}

Could you please complete to also have the button (not only on hover?

Thanks

Thomas
tagDiv Member

Ok thanks

In fact, the files doesn’t change… but their place, yes!
I is why, I didn’t find them anymore.
It’s fix.
Thanks.

Thomas
tagDiv Member

I speak about the link Donnez votre avis.
Here the old code on it

[button color=”” size=”large” type=”round” target=”blank” link=”http://www.virtualmagie.com/ubbthreads/ubbthreads.php/topics/592296″%5D&gt; Donnez votre avis sur le forum ![/button]

Thomas
tagDiv Member

Many thanks.
The buttons look in the WooCommerce are now quiet nice.
https://www.virtualmagie.com/categorie-produit/tours/

In the FWPCF7form, the color are still invert meaning it would be cool that the buttons are orange and after grey/black like in Woo.
https://www.virtualmagie.com/contact/

For MailPoet, no change : https://www.virtualmagie.com/articles/autres/interviews/enzo-weyne-magicien-grandes-illusions/
Same on te button in the footer.
I try to put the code directly in the MP style mais eather way nothing change.

How I could achieve that?

Thomas
tagDiv Member

Now it is worl=ing! 🙂
Many thanks

Thomas
tagDiv Member
Thomas
tagDiv Member

Same thing to me.
Go in the admin to Newspaper/plugin
and upgrade all elements by just clicking on the UPDATE buttons.
First time, I had to activate them.
But for the last small update, it reactivate right away TD.

Thomas
tagDiv Member

Hello Bogdan

First thank you for your help.

Your code worked… til the last theme update! 🙁

Here in contact form: https://www.virtualmagie.com/contact/

Here the add cart button is OK https://www.virtualmagie.com/boutique/livres-de-magie-papier/en-route-john-guastaferro-francais/

but not the buttons Ajouter au panier in the block “Vous aimerez peut-ĂȘtre aussi
”

In the footer, how could we alo change the look of the newsletter button.

Same thing here: https://www.virtualmagie.com/categorie-produit/livres-de-magie-papier/

And in the end of the articles https://www.virtualmagie.com/articles/tests/lectures/harry-houdini-superheros-de-la-magie-philippe-beau-axelle-corty/ the Newsletter orange block.
I put this code for the button but it seems to use only the theme look.

.mailpoet_submit input {
  display: inline-block;
    font-weight: 400;height:40px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
border-radius:6px;
background-color:#f6600;
padding: 10px 16px;
font-size: 20px;
line-height: 1.33;}

Thanks

  • This reply was modified 7 years by Thomas.
Viewing 25 posts - 26 through 50 (of 171 total)