halloy
Forum Replies Created
-
Forum: Plugins
In reply to: [Max Mega Menu] SHortcode into php fileSorry I forgot to put the post Solved
Forum: Plugins
In reply to: [Max Mega Menu] SHortcode into php fileJust to say you I found how to do ! It was because my code was added into the php while !
I moved it just before and now it’s perfect !
Thanks a lot for your patience !!Forum: Plugins
In reply to: [Max Mega Menu] SHortcode into php fileOk Tom, thanks a lot ! I understand.
Of course, the menu is in a div but don’t be displayed at this place. It displayed at the main menu location. If I can get what I want, I’ll buy your module for the payments.I wish you a good we !
Regards
Forum: Plugins
In reply to: [Max Mega Menu] SHortcode into php fileYou’re the best !!! It work now ! A big thank you !!!
If I can ask you just a little stuff : the menu is in theme location but I wish to display it at an other place. You can see here :https://www.cistel-solutions.com/dev.dbc-paris/formation/evenement-1/
In the php file I added a div near the logo to put the menu. But it displays above the logo I suppose because it’s the theme location.5 stars for your help !!
It’s to use this php only for Events Manager. By default, it use single.php. But I can create an other file called single-events.php and this module can use it. This template could be used for other page also.
I’m trying to create this file manually with changing the default single.php but I have problem to insert shortcode.
If it’s possible to create this single-events.php with LC, it should be better for me.
So how it is possible to save the created template for it in pho ?
ThanksForum: Plugins
In reply to: [Max Mega Menu] SHortcode into php fileHello Tom,
In French, we say I give my tongue at the cat ?? I tried a lot of variants without result.
I tried as you said : I have a parse error.
I think it’s because there is already a ‘ before. So I tryed wit doublequote. Then nothing is displayed and I see with Inspector I see that the line is commented (<– –>)
I think it’s because a <?php is already opened.
I tryed without the <?php ?> but the code is displayed at the place of the menu.
As I see on the web it’s possible to add shortcode directly into the php.
But it’s the same.The pastbin link : https://pastebin.com/32L7wFrB
A big thank you for your help !!
Sorry for my late reply and thank for your.
The module use single.php to dislay its datas. I wish to know if it’s possible to modify this file with LC and save the file as php ?
Regards
Thanks for your reply ! I’m happy, it’s good now. For the price, it was #_EVENTPRICEMIN.
Now I’m looking for the displaying of the single event. The content is ok. But I cannot display it with the same template than the list. I could change the page with the list with Live Composer. But not for the page with the single event. I created a template with Live Composer but I don’t find how to use it for single event. I already posted about it.
Thanks a lot for your work !!
Forum: Plugins
In reply to: [Max Mega Menu] SHortcode into php fileSorry, I forgotted to say you what happens if I try as you said me.
Effectivly the >?php tag is already opened, so I try your command but the error is alsoParse error: syntax error, unexpected T_STRING in //www/dev.dbc-paris/wp-content/themes/Terra/single-event.php on line 54
Thank you
Forum: Plugins
In reply to: [Max Mega Menu] SHortcode into php fileHi Tom, you’re very kind to answer so fast ! thank you very much. Sorry for my english.
With
<?php echo do_shortcode("[maxmegamenu location=max_mega_menu_2]"); ?>
I have no more error. But no menu. With the Inspector, I see that this line is displayed as a comment
<--?php echo do_shortcode("[maxmegamenu location=max_mega_menu_2]"); ?-->
Thanks a lot for your help !!
Regards,
Forum: Plugins
In reply to: [WP-Polls] Hide the results before the voteI’m sorry, I just found how to do that : I cleared the contents of Results body when user has not voted. And I modified the Results body when user has no voted to display the button and a sentence to say he must vote before to see the results. It’s ok.
Forum: Plugins
In reply to: [Logo Slider] No images after transfer on serverThanks for your reply, Maeve. I updated the filepath into wp_options, into the field option_value for the field option_name = wp_logo_slider_images. To be sure, I added manually an image into the slider, then I could verify the path into the database. Normally, the path I replaced is then good. But there are always no image into the dashboard of the plugin, nor at the front. I don’t understand why.
I’ve an other question : is the nomber of logos limited into the slide ?
Thanks a lot for your help !