PECER
Forum Replies Created
-
Forum: Plugins
In reply to: [bpost shipping] error pluginsHello everything works correctly with the update
thank you
Forum: Developing with WordPress
In reply to: Edit a file that finds it in a subfolder, child themeThank you I look at this side
Forum: Developing with WordPress
In reply to: Edit a file that finds it in a subfolder, child themeThe file is already customized login.php which opens wp-login.php
Is already customized by default
img -> https://d.pr/i/QWj8
And the user when he sees this page he sees the logo and the menu etc …
What I try to do on my side
Is that in this page there is no logo and menu …
That’s why I created header-login and in I deleted the logo and menu …
Just the login form with default theme template (its own design)
Thank you again for your help
- This reply was modified 8 years, 1 month ago by PECER.
Forum: Developing with WordPress
In reply to: Edit a file that finds it in a subfolder, child themeOk for a summary.
I use a template to add bids.
I have a login.php page that is customized so my wp-login.php page is already customized with a get_header and a get_footer
All this is well …
My goals is that the file login.php has no header (get_header)
And so I made a duplicate of header.php -> header-login.php
And in header-login.php
I deleted the logo, menu etc ….
Then in the file login.php
At line 94 and 401
I replaced
get_header ();
by
get_header ('login');
And it works very well ….
But I have to modify the original file login.php
And so that’s why I want to add this file login.php
In the child theme folder??
login.php file -> https://d.pr/n/3NIl
And so can be that I have chosen a difficult way and surely there is an easier way?
maybe?
- This reply was modified 8 years, 1 month ago by PECER.
Forum: Developing with WordPress
In reply to: Edit a file that finds it in a subfolder, child themeThank you for your help and for advanced this …
In fact it is more complicated because the file I try to take a file full file with codes … it is a file login.php
But that said you gave me an idea and I think we can do …
In the login.php file I have this
get_header ();
-> 4x
But it is to its following lines that I must modify
Line 94 and 401 ->
get_header ();
And I would like to replace with
get_header ('login');
These are the 2 changes I made
So can be with your method we can get there?
thank you very much
Forum: Developing with WordPress
In reply to: Edit a file that finds it in a subfolder, child themeMhh,
Then it will be problematic on my side
Because that would mean that I have to know the theme by default and know where I have to use it …It’s almost impossible to do everything like this: s
I have tried to find another way
Thanks
Forum: Developing with WordPress
In reply to: Edit a file that finds it in a subfolder, child themeHello, thank you for your answer
When I do this I have a blank page
I add the code in the functions.php file of the child theme
??
- This reply was modified 8 years, 1 month ago by PECER.
Forum: Hacks
In reply to: remove tag only one pageThank you it works now
Just replaced init by wp, as you said
But I was too tired yesterday to thinkForum: Hacks
In reply to: remove tag only one pagehi,
have you a example maybe?
thanksForum: Hacks
In reply to: remove tag only one pageHello
thank you for your reply,
I tried this way but I do not know if it will work
Because it still does not work in my site info page
I was wrong?thanks
function method_test() { if (is_page('info')){ remove_action( 'wp_head', '_wp_render_title_tag', 1 ); } } add_action('init', 'method_test');
Forum: Plugins
In reply to: [WooCommerce] Export all categories, even that it is empty (no products)I would like to export the categories of WooCommerce (all Categories, same with the empty products)
I solved the problem by following this link
https://sevenspark.com/free-stuff/contact-form-7-dynamic-text-extension-released
I would like to take this
<?= get_post_meta($_GET['refid'], 'Marque', true); ?>
and put it in the form
ex :
[dynamictext dynamicname "CF7_get_custom_field key='Marque'"]
but it’s not working: (
Thanks
Forum: Plugins
In reply to: [Widgets on Pages] [Plugin: Widgets on Pages] create un theme for widgetI understood the system of css for wordpress-widget;)
This is a test;)#test-1 { overflow: auto;margin: 10px ;padding: 10px ; } #test-1 .widget { float: left; width:31%; background: #fff; margin: 5px; border: solid 1px #038cc0; } #test-1 .widget h3 { color:#038cc0; font-weight:bold; font-size:14px; text-align:right; background: #b5f20e; border-bottom: solid 1px #038cc0; } #test-1 .textwidget{ padding:5px; color:#4d4d4d; font-family: arial; font-size:12px; }
Forum: Plugins
In reply to: [Widgets on Pages] [Plugin: Widgets on Pages] create un theme for widgetAs the plugin, you can create a lot of the widget and displayed in the template or the page …
I would like to create a css for each widget …Custom, title, text, background …
for example here in the link, there is the css for the widget horiz
https://gingerbreaddesign.co.uk/todd/2011/05/08/wordpress-widgets-on-pages-horizontal-layout-demo/