No search results were found in Documentation!
Thanks so much for the explanation. That makes more sense now and will allow me to create exactly what I was trying to achieve. Sadly I have done something silly and now appear to have lost the ajax menu items. I cannot add a screen show from the computer I am on today. Will send it through tonight (Sydney time). I have set Category Filter to on of my categories that has child categories. I have posts that have both the parent and child categories ticked. On the ajax TAB I have no selected Filter by category and in the drop box field I have added a series of category numbers separated by commas. I thought this would meant that posts that have the selected category ticked would appear in this section (they do) and that there would be drop down menu items for each category that I have added to the field above.
Is there something that I have missed?
As for the Facebook. Yes it is the Social Counter plugin, I have followed every step of the instructions except activating and deleting as I only purchased the themes and plugins last weekend. I assumed they were current. I will try that and see what happens
Thanks so much for the help
Hi
Try this css in theme panel > custom code > custom css: http://screencast.com/t/0AGmVmmocV
.td-grid-style-1 .td-module-thumb a:last-child:before{
background: none
}
Thanks!
Hi,
Do you have this issue on mobile(I guess)?
Please switch to the main theme and see if you still have this issue. If the issue disappear please make a backup of your current child theme files and update it to the version provided with the theme files as from version 6.3 we have changed the system. You can find it in /code folder – https://forum.tagdiv.com/whats-included/
Let us know how it goes!
Thanks!
Hi,
Please provide more details regarding the facebook issues. Do you refer to the Social Counter plugin? Please make sure you use the latest theme version 6.6.3, then deactivate and delete the Social Counter plugin – http://screencast.com/t/4f9ZPR9sNl6Y and install it again from here so you will make sure you use the latest version – http://screencast.com/t/ioeIReUJ4
Even if you use a parent category the child categories will not appear automatically using ajax, they have to be added manually to appear. So please check block settings and remove thos ids – http://screencast.com/t/0SNBIfoVy
Thanks!
Hi
When the child theme it’s used for files customizations it’s a good practice to check update_log.txt file for each update and see what files had been modified so if those specific files are used in the child theme you will have to check your customizations to not break the functionality of the theme.
@rbemerson the way in which child theme works with our theme is by moving the file that you want to modify in Newsmag-child folder. You have to copy every file that you want to edit in child theme folder.
@DSLRMZ I have checked the child theme functionality and works fine. Please make sure that you’re using the child theme from the same package with the main theme: http://screencast.com/t/gwJPjoBUbvZ clear all caches, deactivate all plugins except Visual Composer and test again.
Thanks!
See the changelog to see what files changed for the child theme; as you need to update those as well.
This is why I don’t use child theme and just edit main theme then keep track of updates. With all the big changes to WP the past year, child themes just don’t work as easily as they once did — meaning child themes keep updating too which defeats the purpose! (my opinion only…)
Same problem here. After upgrading to 2.3.4. the new theme seems to be wordking fine, but the Child Theme is no longer working. I’ve even tested with an empty child theme, but the site doesn’t work.
Hello
I just upgraded to 2.3.4 using the Envato Market tool. The upgrade was successful however my Child Theme no longer works.
When I checked documentation it now says I need to copy the “single_template_1.php” file to the child theme.
Do I need the other files 2-6?
Ralph
For the first route, I opened the td_module_single.php file in my child theme and it looks nothing like the screen shot you shared. I am pretty keen on editing only the child theme as I don’t want to loose anything upon updating. Is this possible, or does it have to be in the main folder?
Hi,
1. The theme doesn’t have such an implementation and you will need custom modifications and I suggest to get someone to help you with it. If you only want to open the link in another tab/window just add target="_blank" to your link – http://www.w3schools.com/tags/att_a_target.asp
2. Please try this custom css in Theme Panel > Custom Css – http://screencast.com/t/bYeVobCjqw
.footer-text-wrap p:last-child a {
text-decoration: underline;
}
If you need more assistance regarding this or you have other issues with the theme please note that we will get in touch with you Monday – http://screencast.com/t/5EQlEtXSFCp
Thanks for understanding! Happy new year!
Be sure to update all the plugins also.
You then need to do some tweaks to your home page layout for all the changes made to theme core.
See changelog also if you are using child theme as that needs to be updated too.
FYI – we have solved the issue.
Apparently the child theme we had, did not reference correctly after the update.
The thread can be closed (thanks) 🙂
Hello,
This can also be caused by using an old child theme. Please activate the main theme and see if the problem is still there. If the problem is caused by the child theme, please use the child theme that comes with the latest version of the theme (6.6.3).
Thank you!
Hi
Please make sure that you updated the theme according with our documentation: https://forum.tagdiv.com/newsmag-how-to-update-the-theme/ deactivate the child theme, empty all caches, deactivate all plugins except Visual Composer and test again. Also you can try to make a fresh install on your computer, only with WordPress, the theme and the Visual Composer plugin and check if this issue is still there.
If the problem persist please address as via email and we will inspect it in shortest time possible.
Thanks!
I have tried to disable all other plugins.
I run Newsmag in a child-theme.
/Jens
confirmed working as expected. by using the included child theme. case closed.
quick update. I realized that the issue is tied to the child theme that I built for it, not the main theme.
I’ll try to get the child theme to work cleanly
Hello maxmynorm,
Please try the code below and place it in Theme panel->Custom CSS area, lie this: http://screencast.com/t/2MWqrLhSY1
.page-nav:first-child > div {
margin-right:20px;
}
.page-nav-post a {
margin-right:20px;
}
.page-nav.page-nav-post {
margin-top:30px;
}
You can adjust these values as you wish.
The result you should see here: http://screencast.com/t/mYzT2rj3
If is not what you mean, please provide more details.
Hope this helps and let us know how it goes!
Thank you for the message!
Hello sailingchance,
The simplest way should be to remove only the text after background and insert only the color which you want to have as background. Please notice that our theme use this gradient for displaying a elegant design. If you remove this, maybe the result do not look so good.
.td-grid-style-1 .td-module-thumb a:last-child:before {
background: enter your color ;
}
The result you should see here: http://screencast.com/t/fJdZJ3ciY9y
If is not what you mean, please provide more details about this, so I can be able to provide a more accurate response.
Hope this helps and let us know how it goes!
Thank you for the message!
Hi @Alex
If you use child theme for files customizations it’s a good practice to check update_log.txt file for each update and see what files had been modified so if those specific files are used in the child theme you will have to check your customizations to not break the functionality of the theme.
Thanks!
Hello,
Any customization of the editor style can be done in this file: http://screencast.com/t/IEIzH59l7bF The less files are compiled in this file. You can use the editor-style.css in the child theme’s root folder and make our customization from there.
Thank you!
Hi
Unfortunately the td-config.php file can’t be moved in child theme at the moment. You can check the file which can be moved in child theme in our documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks!
Hey all, just a quick question. I know NewsPaper and Newsmag themes already have the lightbox functionality for single image, so hopefully this shouldn’t be too tedious to do. I wanted for each Gallery inserted into the post that it would open in a lightbox like seen here: http://thecurvyfashionista.com/2015/12/new-years-eve-plus-size-dress/ and the image attachments would show like they do in the ligthbox of the post example linked. It uses the default WordPress gallery with some php and css tweaks.
I see on that site they use the image.php or the attachment.php file and some css to do this, my question is, in NewsPaper’s attachment.php what would I need to tweak to possibly get it to sit in a similar layout for the galleries? Or would I need to create a separate file that only targets when galleries are added to a post? Please advise.
I can add in the php file code they are using:
<?php
/**
* @package WordPress
* @subpackage TCF2015
*/
get_header();
if ( have_posts() ) : while ( have_posts() ) : the_post();
//count total images + find current image number
global $post;
$attachments = get_children( array( 'post_parent' => $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) );
$count = count( $attachments );
$specific = array();
$i = 1;
?>
<section id="mainContent">
<div id="photoFull">
<?php $att_image = wp_get_attachment_image_src( $post->id, "full"); ?>
id); ?>" rel="attachment" target="_new">" alt="" />
</div><!-- END photoFull -->
<?php
foreach ( $attachments as $attachment ) {
$specific[$attachment->ID] = $i;
++$i;
}
if($specific[$post->ID] == $count) { ?>
<aside id="seeMore">
<div class="sectionheader"><h2>More Galleries</h2></div>
-
<?php
-
<div class="entryThumb">
">
<?php
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large' );
$image2 = get_image_attachment();
if ( has_post_thumbnail( $post->ID ) ) { ?>
/timthumb.php?src=<?php echo $image[0]; ?>&w=215&h=300&q=80" alt="" />
<? } else { ?>
/timthumb.php?src=<?php echo $image2; ?>&w=215&h=300&q=80" alt="" />
<? } ?>
</div>
<h3>"><?php the_title(); ?></h3>
$galleries = new WP_Query(array(
'posts_per_page' => 4,
'tag' => 'galleries',
'post__not_in' => array($post->post_parent)
));
while ( $galleries->have_posts() ) : $galleries->the_post();
?>
<?php endwhile; wp_reset_query() ?>
<div class="clear"></div>
</aside><!-- END seeMore -->
<? } ?>
</section><!-- END mainContent -->
<aside id="sidebar">
<div id="infoHeader">
<div id="controls">
<div id="prevNext">
<div id="prev"><?php previous_image_link() ?></div>
<div id="count">
<?php echo "{$specific[$post->ID]}/{$count}"; ?>
</div>
<div id="next"><?php next_image_link() ?></div>
</div><!-- END prevNext -->
<div id="closeButton">post_parent); ?>" rev="attachment"></div>
</div><!-- END controls -->
<h1>post_parent); ?>" rev="attachment"><?php the_title(); ?></h1>
</div><!-- END infoHeader -->
<?php the_content();?>
<div class="socialIcons">
- <span class="socicon-facebook">" title="Share on Facebook" target="_blank"></span>
- <span class="socicon-twitter">&text=<?php echo htmlspecialchars(urlencode(html_entity_decode(get_the_title(), ENT_COMPAT, 'UTF-8')), ENT_COMPAT, 'UTF-8'); ?>:%20<?php the_permalink() ?>&via=mariedenee" target="_blank" title="Tweet This!"></span>
- <span class="socicon-pinterest">&media=<?php echo $att_image[0];?>&description=<?php echo htmlspecialchars(urlencode(html_entity_decode(get_the_title(), ENT_COMPAT, 'UTF-8')), ENT_COMPAT, 'UTF-8'); ?>" data-pin-do="buttonPin" data-pin-shape="round" title="Pin It!"></span>
- <span class="socicon-tumblr">&caption=<?php the_title(); ?>&source=<?php echo $att_image[0];?>" target="_blank" title="Post on Tumblr"></span>
- <span class="socicon-email">&body=Check this out on The Curvy Fashionista!:%20<?php the_permalink() ?>" title="Share via Email"></span>
</div><!-- END socialIcons -->
<div class="ad_300x250">
<?php echo do_shortcode( '[adrotate group="3"]' ); ?>
</div><!-- END ad_300x250 -->
</aside><!-- END sidebar -->
<?php endwhile; else: ?>
<?php endif; ?>
<?php get_footer(); ?>
What of this would be added in to the existing NewsPaper attachment.php file to help me get the desired gallery layout?
Thanks!
As much as I hate plugins for stuff like this ….
you might temporarily try this to avoid “losing sales”…
https://wordpress.org/plugins/woocommerce-products-per-page/
but yes, this *should* work if you put it at bottom of your main (not child) theme functions.php file:
// Display 24 products per page. Goes in functions.php
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 );
Your version of code looks a little different than the official filter above, however.
REF:
https://docs.woothemes.com/document/change-number-of-products-displayed-per-page/
-
This reply was modified 10 years by
simchris.