Hi!
i need to change subtitle order, just above the title but i dont find the php file to edit the code.. where is???
no css solution please.
<header class=”td-post-title”>
<h1 class=”entry-title”>text title</h1>
<p class=”td-post-sub-title”>text subtitle
</header>
to
<header class=”td-post-title”>
<p class=”td-post-sub-title”>text subtitle
<h1 class=”entry-title”>text title</h1>
</header>
thanks
Hello !
The codes can be found in here: https://www.screencast.com/t/aqrlYHKGGh
Path: wp-content\plugins\td-composer\legacy\Newspaper\parts\single
Thank you !
what file???
only i see especific code in single_template_xx.php but all are the same..
original in all files:
<header class=”td-post-title”>
<?php echo $td_mod_single->get_category(); ?>
<?php echo $td_mod_single->get_title();?>
<?php if (!empty($td_mod_single->td_post_theme_settings[‘td_subtitle’])) { ?>
<p class=”td-post-sub-title”><?php echo $td_mod_single->td_post_theme_settings[‘td_subtitle’]; ?></p>
<?php } ?>
<div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
</div>
</header>
i edit (all files) so:
<header class=”td-post-title”>
<?php echo $td_mod_single->get_category(); ?>
<?php if (!empty($td_mod_single->td_post_theme_settings[‘td_subtitle’])) { ?>
<p class=”td-post-sub-title”><?php echo $td_mod_single->td_post_theme_settings[‘td_subtitle’]; ?></p>
<?php } ?>
<?php echo $td_mod_single->get_title();?>
<div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
</div>
</header>
—
but does not work.. please what file?? and what is the correct code to change order (subtitle above the title)
thank you
Hello !
That will require custom coding. We do offer custom services now. You can contact us for a quotation here: https://tagdiv.com/premium-customization-services/
Also please you can set up your child theme from here: https://forum.tagdiv.com/the-child-theme-support-tutorial/
Please note that even child theme is not update proof.
Thank you !
ok
1) can you give me a budget???
2) does not work, i think because i changed theme name “Newspaper” to “publicaciones-digitales” and “Newspaper-child” to “publicaciones-digitales-child”
(also I changed in style.css theme name etc.. to work):
/*
Theme Name: publicaciones-digitales child theme
Theme URI: http://themeforest.net/user/tagDiv/portfolio
Description: Child theme made by tagDiv
Author: tagDiv
Author URI: http://themeforest.net/user/tagDiv/portfolio
Template: publicaciones-digitales
Version: 9.0c
*/
why does not work? how can i make work file loop-single.php in my custom child theme??
thanks
Hello !
Since you have made changes to name you will be facing issues. Our Newspaper theme has been design and edited with specific name. You will have to modify almost every theme file in order to rename it. Please revert your names and then see if your child theme works.
Thank you !
I restored all template and theme child with correct Newspaper theme name.
I use DEFAULT post template: https://prnt.sc/pb06r4
what file must i edit???
only works on [Path: wp-content\plugins\td-composer\legacy\Newspaper\loop-single.php] but not in my child theme putting loop-single.php in child theme root.
Hello,
That is because there you need to copy one more file, the single_template_x.php, please check this part from our documentation -> http://prntscr.com/p1jktp -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ also if you want to edit the default post template you’ll need to copy those to files single.php – loop-single.php from wp-content/plugins/td-composer/legacy/Newspaper/loop-single.php directly in the child theme folder, only the post templates from 1 to 13 need to be set in Newspaper-child\parts\single.
Hope this will help you!
Thank you!