Ramesh R
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Unable to translate contact & logoCan you please explain this elaborately??
And also do i need to replace slider shortcode in page.php ? or need to change in all the pages given below?? coz the script you have mentioned in page.php is also existing in below pages. please do reply what to do?
page.php
template-blog.php
template-full.php
template-home.php
template-left-sidebar.php
template-three-column.php
\content\home-page-small.phpForum: Themes and Templates
In reply to: [GivingPress Lite] WordPress Multilingual Websitehere is online temporary online url to access my website: https://www.askyourprofessoronline.com/renukatemplepdy/
I have activated child theme but the home page featured image doesn’t extend to full width..what could be the problem??
here is credential to access admin: un: rramesh pw: Mother!123
Please advice to fix this issue.
I have got below reply from smart slider plugin forum. So do i need replace the code with smart slider shortcode in all the below mentioned pages?
————————————————————————————-This theme(givingpress lite) has multiple templates, which means, that this codepart can be found in multiple files, and based on some settings, different ones are loading on the different pages/posts. Like I can find the banner in the page.php file, and in these files as well:
template-blog.php
template-full.php
template-home.php
template-left-sidebar.php
template-three-column.php
\content\home-page-small.phpIn this case all of them have the same code to make that banner:
<?php if ( has_post_thumbnail() ) { ?>
<div class=”feature-img page-banner” <?php if ( ! empty( $thumb ) ) { ?> style=”background-image: url(<?php echo esc_url( $thumb[0] ); ?>);” <?php } ?>>
<h1 class=”headline img-headline”><?php the_title(); ?></h1>
<?php the_post_thumbnail( ‘giving-featured-large’ ); ?>
</div>
<?php } ?>
what you should remove, and just write our code there with your slider’s ID:<?php
echo do_shortcode(‘[smartslider3 slider=15]’);
?>
But for example at my posts another code is used there, which is inside the header.php file, and it is a longer code, so I’ll tell the beginning and the end. It starts from line 158. for me:
<!– BEGIN #header –>and ends at line 212., so one line under the “END #header”:
<!– END #header –>
</div>
You could remove that whole part, and write our shortcode there:<?php
echo do_shortcode(‘[smartslider3 slider=15]’);
?>
Rather have a backup of the files, in case you need to modify them differently, as you do on first try.Forum: Plugins
In reply to: [Smart Slider 3] smart slider not workingThanks for your prompt reply.
I wish to clarify onething before make the changes in the code. do i need to replace with the shortcode only on header.php file ?? or all the above mentioned files??Awaiting for your reply.
Sincerely,
Ramesh RI have remove existing code and replaced with smart slider shortcode. Kindly look at the screenshots below..yet slider is not coming instead featured image. Kindly help with the solution.
Existing Code: https://drive.google.com/open?id=0B2LlJtLhZMcSakJ2QnRsckxmLU0
After place shortcode: https://drive.google.com/open?id=0B2LlJtLhZMcSbm5pVzBYUGZXYXcAwaiting for your reply
I have just commented the script and placed inserted shortcode within php tag. It won’t work if i commented existing script??
Forum: Themes and Templates
In reply to: [GivingPress Lite] WordPress Multilingual Websitepolylang also showing the translatable strings except top contact strip and logo should be changed with php script..and changing the logo is not part of polylang plugin. so i guess you could help me.
Also i have created child theme and activated it..everthing works fine except featured image in all page and it doesn’t extend to full width (1800 x 640) instead it is 1140 x 405 dimension. Have a look at this link https://goo.gl/o4JDLR
I will send you online link shortly so that you could help me further.
Thanks,
Ramesh RForum: Themes and Templates
In reply to: [GivingPress Lite] WordPress Multilingual WebsiteHi David,
If you see the screenshot in my previous message, i have highlighted the area with rectangle box which i want to translate in TAMIL language when i select language option to TAMIL.
My default language is ENGLISH it’s working fine. but when i choose TAMIL language it works except the highlighted part. I know this has to be done by adding some scripts in child theme functions.php
I found the below script online to change logo according to multiple language selection.
AND YOU ARE SAYING TO CHANGE LANGUAGE BY NAVIGATING THE OPTIONS YOU HAVE GIVEN..IF I CHANGE THE LANGUAGE TO TAMIL..when i choose ENGHLISH language HOW IT WILL WORK??
I found below script from premium pojo premium theme support forum…
function pojo_polylang_get_multilang_logo( $value ) {
if ( function_exists( ‘pll_current_language’ ) ) {
$logos = array(
‘en’ => ‘logo-en.png’,
‘fr’ => ‘logo-fr.png’,
);
$default_logo = $logos[‘en’];
$current_lang = pll_current_language();
$assets_url = get_stylesheet_directory_uri() . ‘/assets/images/’;
if ( isset( $logos[ $current_lang ] ) )
$value = $assets_url . $logos[ $current_lang ];
else
$value = $assets_url . $default_logo;
}
return $value;
}
add_filter( ‘theme_mod_image_logo’, ‘pojo_polylang_get_multilang_logo’ );Could you please modify this script according to your theme script??
Awaiting for your reply.Thanks,
Ramesh RForum: Themes and Templates
In reply to: [GivingPress Lite] WordPress Multilingual WebsiteHi,
I really look forward your reply. Please do reply
Thanks for your reply David.
I have placed shortcode inpage.php
as you said but i can’t see image slider..kindly look at this screenshot that how i did change in page.php script here https://goo.gl/JpOQVQI look forward your reply.
Sincerely,
Ramesh RForum: Plugins
In reply to: [Custom Post Type Attachment] how to upload pdf fileI wish to put monthly pdf newsletter on my newsletter page? how to do that using your plugin?