Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
ctoweett
tagDiv Member

1. I see. I did not think of that.
2. I saw the normal pagination feature has been requested for a long time. Hope we get to see it in some of the coming flex blocks.
3. Another question. Is there a way the related posts element for cloud library can be edited to have an option to do away with images? I saw that block adds nearly 300kb of code, with caching installed. Changing image height or width to zero does not help either. I was trying to make it show like say, block 9 (but as a downward list of related posts).

ctoweett
tagDiv Member

Thanks for this. Having the team implement the function by default is good. I meant to say shortcode not widget. I tried several solutions online but each code threw a syntax error in functions.php. I once saw a similar thing implemented a few years back in a certain forgotten website but I just cannot remember how the person did it (though it was for related posts, not next previous navigation). I will keep the current format and see what it becomes of in future updates.

ctoweett
tagDiv Member

You are welcome.

ctoweett
tagDiv Member

Use this code but change the color code to any you want.
.td-post-content a {
color: #f30f0f;
}

Enter it in Theme panel->Mobile theme->Custom CSS section.

ctoweett
tagDiv Member

Check this plugin (but some features are paid) https://wordpress.org/plugins/intelly-related-posts/.

ctoweett
tagDiv Member

You can also disable the thumbnail sizes you do not use from here https://www.screencast.com/t/Ihia4bRV. Then install the force regenerate thumbnail plugin to regenerate the theme’s thumbnails. Also, remember to reduce your image size with a plugin like wp smush.

  • This reply was modified 8 years by ctoweett.
ctoweett
tagDiv Member

You are welcome.

ctoweett
tagDiv Member

Seen it. Thanks Bogdan. Very useful.

ctoweett
tagDiv Member

Hi @Simion. I have this code that I used to show thumbnails in a custom next and previous posts feature using the default template. I did not find an easy way to implement it in the new single templates from the cloud library and would like to create a function in functions.php and then share a shortcode in a text element. I am aware tagdiv does not provide custom work but is there a way you can kindly assist in creating the function to call this code as a widget? Thanks in advance. Here is the code

<?php echo $td_mod_single->get_next_prev_posts(); ?>
			    <div class="navi-previous-next clear clearfix">
	            <div class="navi-previous navi-item"> <?php 	
		    	$prevPost = get_previous_post();
			$prevthumbnail = get_the_post_thumbnail($prevPost->ID,  'td_100x70'); ?>
		       	<p class="navi-icon"><?php previous_post_link('%link', '<span class="navi-prev-title">← Previous Article</span>');?></p>
		       	<div class="navi-post-content">
		  		<?php previous_post_link('%link', $prevthumbnail); ?>
		  		<?php previous_post_link('%link', '%title'); ?>
		  	</div>
	            </div>
	            <div class="navi-next navi-item"> <?php
	                $nextPost = get_next_post();
	                $nextthumbnail = get_the_post_thumbnail($nextPost->ID, 'td_100x70'); ?>
	                <p class="navi-next-icon"><?php next_post_link('%link', '<span class="navi-next-title">Next Article →</span>'); ?></p>
	                <div class="navi-post-content">
	                	<?php next_post_link('%link', $nextthumbnail); ?>
	                	<?php next_post_link('%link', '%title'); ?>
	                </div>
	            </div>
	        </div>

and preferably have something like this after the function
add_shortcode('prevsocial', 'prev_social');

ctoweett
tagDiv Member

Paste this code in the theme’s custom CSS section of the theme panel
.td-post-template-8 .td-post-header header .entry-title {
color: white;
}

ctoweett
tagDiv Member
ctoweett
tagDiv Member

These are the only officially tested and recommended plugins by tagdiv team https://www.screencast.com/t/BxtXu4mJ6S. Also, see this tutorial by @neotrope https://forum.tagdiv.com/topic/tutorial-good-basic-security-practices/. Hey Chris, why not ask the team to pin this at the top of the forum?

ctoweett
tagDiv Member

No. You will have to make the changes in the mobile folder of the parent theme. Ensure you keep backups to ensure your changes are not lost in theme updates and also to look at the changelog for theme updates to see if any files have changed.

ctoweett
tagDiv Member

Check under Newspaper>Theme Panel>Post Settings>Featured Images if the “show featured image” option is enabled.

ctoweett
tagDiv Member

1. Here is the full documentation (plus tutorials for configuring the theme) https://forum.tagdiv.com/newspaper-theme-documentation/
2. How to change the logo (look for text title and tagline) https://forum.tagdiv.com/logo-favicon/.
3.How to edit the front page of the demo https://forum.tagdiv.com/tagdiv-composer-tutorial/
(I don’t work here).

ctoweett
tagDiv Member

Then I don’t think that will work. I think the mobile plugin is not designed to work with shortcodes. You better disable it and use the responsive version of the theme for the contact form to show up. https://forum.tagdiv.com/the-mobile-theme/

ctoweett
tagDiv Member

Then look for the mobile editor below the main editor for the contact page (scroll all the way down) and paste the shortcode there and update the page. Then confirm if it is working (clear website cache if you have a cache plugin installed).

ctoweett
tagDiv Member
ctoweett
tagDiv Member

Are you using the mobile plugin?

ctoweett
tagDiv Member

Indeed the team should be planning on how to introduce the elements in the classic editor in Gutenberg.

ctoweett
tagDiv Member

Here is the guide for the plugin https://forum.tagdiv.com/the-newsletter-plugin/ . What you need is an embed form code from your MailChimp account to paste in the plugin field https://mailchimp.com/help/add-a-signup-form-to-your-website/.

ctoweett
tagDiv Member

Yes, you can with single templates from the new Cloud Library Plugin https://forum.tagdiv.com/tagdiv-cloud-library-plugin/.

ctoweett
tagDiv Member

You are welcome.

ctoweett
tagDiv Member

Look under Newspaper>Theme Panel>Footer and expand each selection to edit as you want.

Viewing 25 posts - 326 through 350 (of 1,001 total)