mfoucault
Forum Replies Created
-
Hi,
I have the same error than @lishantha , when I change the padding or the border from the “Appearance” form page. Nothing change, with no error in the browser console or the /debug.log file.Forum: Plugins
In reply to: [Advanced PDF Generator] how create template pdfHI @cinematic,
Sorry, but it without the coma “;” at the end when I refresh the post page, i have the header, the footer but nothing about the post content.Forum: Plugins
In reply to: [Advanced PDF Generator] how create template pdfSorry, but it without the coma “;” at the end when I refresh the post page, i have the header, the footer but nothing about the post content.
Forum: Plugins
In reply to: [Advanced PDF Generator] how create template pdfThanks @cinematic
Yes it’s what I’m done.
So,
I have put pdf.php in /wp-content/themes/twentyseventeen/apg-templates/
When the code is<?php while ( have_posts() ) : the_post(); the_title(); the_content(); endwhile; ?>;
and i refresh the post I have an “HTTP ERROR 500”
When I withdraw the
<?php and ?>;
I can show the post content, I haven’t this “HTTP ERROR 500”
But when I clic on the “view” link the pdf file shows only the text “while ( have_posts() ) : the_post(); the_title(); the_content(); endwhile;”What I have missing ?
Forum: Plugins
In reply to: [Advanced PDF Generator] how create template pdfHi @cinematic
I tried what you explained without result.I have a child theme, so I put the pdf.php in the mother theme folder:
twentyseventeen/apg-templatesWhen I refresh the website page, the page content doesn’t appears.
Forum: Plugins
In reply to: [Advanced PDF Generator] how create template pdfCan you give the name please?
Forum: Plugins
In reply to: [Advanced PDF Generator] how create template pdfMe too, I’m doing what is wrote, still didn’t work.
Forum: Plugins
In reply to: [Advanced PDF Generator] how create template pdfHi @elpezrojo,
Same for me, can you tell me what’s happening when you view or print ?
For me, the pdf file contains only the code, not the content of the post
while(have_posts()): the_post() the_title() the_content() endwhile
is it the same for you ?Forum: Plugins
In reply to: [wp-mpdf] It doesn’t works, no button on page3 other questions :
- Do I have to add the post in the black/white list ?
- Do in have to add a shortcode in the post content to show the PDF button ?
- Do I have to add something in the /wp-mpdf/themes/ folder ?
Thanks for all.
Forum: Plugins
In reply to: [wp-mpdf] It doesn’t works, no button on pageThanks @fkrauthan
If I use a twenteeseventeen WP child theme, in which php file I need to put the line
<?php if(function_exists(‘mpdf_pdfbutton’)) mpdf_pdfbutton(); ?>
Nothing works for me. Thanks
Forum: Plugins
In reply to: [NavMenu Addon For Elementor] How to add menu in header ?Hi,
Yes, I still use a child theme.
Can you explain me how to modify it to add a menu.
Is it possible you add action hook in the child theme ?Forum: Plugins
In reply to: [NavMenu Addon For Elementor] How to add menu in header ?Hi,
I’m using twentyseventeen theme.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Change top menu color textI found :
.navigation-top a { color: #222; /* navbar text color */ font-weight: 600; -webkit-transition: color 0.2s; transition: color 0.2s; }
- This reply was modified 7 years, 11 months ago by mfoucault.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Decrease the video header heightHere the code from the child theme:
<?php add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } //add 8 sections to index add_filter( 'twentyseventeen_front_page_sections', 'childtheme_front_page_sections' ); function childtheme_front_page_sections() { return 8; } // decrease video header add_filter( 'header_video_settings', 'childtheme_header_video_settings' ); function childtheme_header_video_settings( $settings ) { $settings['minHeight'] = 250; } ?>
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Decrease the video header height