- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
Hello,
Unfortunately the theme api is not covered by the theme support as it represents customization. Maybe you did not create the code properly. I can’t say for sure. Try to download the pre-made plugin from here: https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/ and see if the video issue is still present with our premade plugins. Please download the top one as there are 2 versions. The second one is for older theme versions. (unless you use newspaper 6.5 or older)
Thank you!
Hello,
Please note that 7.7 is the latest version, not 7.3
Now fort the lightbox. There is no simple way to remove it and use it with external images. The lighbox needs the images to link to the image file itself, not external links. If you use external links, you should disable the general modal image from here: https://www.screencast.com/t/AoiQHZlAeBTC
You can remove the modal image from the featured image from here: https://www.screencast.com/t/tKnmIYeqd but there are places in the theme where the lightbox is hard coded like for example on smart lists or the tagdiv gallery. Unfortunately there is no easy way to remove the lightbox from these elements. sorry.
Thanks.
Hi,
The blocks are made from modules and you can control the excerpt length on each of the modules. For example block 23 uses module – https://www.screencast.com/t/z6cKpgAOB and the excerpt can be modified in Theme panel->Excerpts – https://www.screencast.com/t/Uyub1uI7B You could also set a manual excerpt for your posts in each of the post edit page – https://www.screencast.com/t/Ep4DbhapIB Just make sure you have the excerpt box checked in the screen options – https://www.screencast.com/t/Ijj8LEmejiuR
Thanks
Hello,
Recently I installed Newspaper on a brand new WordPress. After activation, I wrote some posts and set a default homepage. To each post I uploaded a featured image.
The problem I am facing is that the theme is cropping just ONE thumbnail although the default blocks display images that have different aspect ratio.
As a result, no matter what image size the featured image has (and no matter what the aspect ratio is), on some blocks it will look alright while in others won’t. (As it’s impossible to display one thumbnail in boxes that have different aspect ratios).
Here are an example: I uploaded a simple read image. With this aspect ratio, it looks OK in the boxes from the left part, but it looks bad in the boxes from the left side (compare the red one with the default ones).
If I change the aspect ratio to suite left side, it is broken on the right side.
Another example: I uploaded a picture to suite the left and the top side. Look at the thumbnail in the middle (compared to the white, default one). You can notice the created thumbnail has a different width.
Is there a way to solve this? Each block need it’s specific thumbnail aspect ratio/size else 2 different blocks cannot be used on the same page. And this is kinda theme related…
Thanks!
So, I’ve tried everything to fix this.. my VC is there.. but when I try to edit in backend it does nothing.
it doesn’t allow me to switch.
I’m also having problems with Text & Visual buttons, they dont let me switch between them either..
Any Ideas?..
I’ve tried disabling all plugins. Does’t work..
Only thing I notice is when I hoover over the bankend editor in chrome, it says Javascript:;
thats all that its saying.
appreciate your help.
Want to add to this, the issue is specifically when I have a shortcode on a post to embed a gallery as opposed to individual images. Example: [SME_gallery ids=’4tT7vgP,7NK6ptN’ size=’MediumURL’ columns=’2′ caption='{SMUGMUGCAPTION}’ link=’Lightbox’ new=’Yes’]. This is embedding SmugMug images, and the images appear correctly, but when clicked on it forces your lightbox to load. That’s why I am hoping there is some way to completely disable ii, since individual images when placed and clicked on take the visitor to the appropriate SmugMug image or gallery. Thanks!
Have a look here Jauan,
Hope it helps
Tom
Hello –
I am having trouble with the format of my h1 and h2 headings. They have worked in past blog posts, but I couldn’t get them to work at all in my latest. Anyone have tips for fixing? The settings in my theme panel are correct, so not sure what happened. The headings are set to all caps, teal color and Oswald font.
Example of post where they work: http://www.sailingchance.com/blog/galley-items
Headings include: “STORAGE EQUIPMENT FOR YOUR GALLEY” “GEAR THAT MAKES GALLEY COOKING EASIER” etc.
Example of post where they are NOT working: http://www.sailingchance.com/blog/pullout-drawers
“Tools and Products Used” is set to Heading 1
Well, the link included in the message above didn’t work. Here it is again.
Alright, I’ve taken a screenshot
As I mentioned above, the alignment for bulleted lists displays alright on wide screen displays.
But, on narrow screen displays, like phones, where the text wraps to a second line in bulleted lists is the problem.
When the page was created, I used the Arrow List format in wordpress for all of these lists. But, they display as round bullets. I thought Arrow Lists wrapped and aligned text properly.
Rather than correcting each bulleted list separately, I’d like to make the correction to any and all lists. Perhaps, in the stylesheet.
How can that be done?
Big Grid Slide has the layout of Big Grid 2 (one large image & three equal-sized small ones). Is it possible to have a Big Grid Slide with other layouts, e.g. that of Big Grid 3?
Hello,
Well if you use the same word for the tag, only the first one remains. If for example I want to add these tags: https://www.screencast.com/t/sXXgi6IoKf3
The tag is still tagdiv. It is not case sensitive. They will be removed and only the first will be shown, the capital letters one because it is the first: https://www.screencast.com/t/zA366Iva9
But if I add different names: https://www.screencast.com/t/K1uuZ970 they will be kept in the form you type the in.
I hope this helps
Thank you!
Hello,
You can use a few WordPress functions that can grab the author id like for example: https://developer.wordpress.org/reference/functions/get_the_author_meta/
Thank you!
Hi,
Maybe I am misunderstanding what you were asking. I believe you wanted to have an ad title on a custom ad that you are going to manually insert in the structure of the loop single file corresponding to the post template – https://www.screencast.com/t/5f6s5Rs1 with a code like this example and this result – https://www.screencast.com/t/1Oum1O8l
<?php echo do_shortcode ('[td_block_ad_box spot_id="custom_ad_1" spot_title="ad title" tdc_css=""]'); ?>
Thanks
Hi Catalin, thanks for the response.
Here is an example of my lists not indenting: https://drive.google.com/file/d/0B0iei_gRnDjqVnd2WFZ4X3dLYlU/view?usp=sharing
Here is an example, of what I’d like it to look like, with indenting: https://drive.google.com/file/d/0B0iei_gRnDjqZGMta0ZETFJPU3M/view?usp=sharing
The link to my website is: http://www.cusn.ca
Thanks for your help!
Hi,
I am facing a problem with tags. I added few tags to some of my articles in capital letters. For example: TAGDIV. Now I want to add the same tag but in small letters like tagdiv. But when I try to do that the final tag that is published always remains capital TAGDIV (as it was the first tag added).
Best,
Gaurav
The text in bulleted lists doesn’t wrap to the next line properly.
In the full width site, I don’t have any long lines of text that would wrap to the second line in a bullet.
But, when displayed on a mobile device, the text in bullets wraps to a second line. That second line doesn’t align with the first line of text above it. Here’s a page https://helpuconquer.com/make-life-easier/ You’ll need to scroll down some to see where the text doesn’t align with the line above it.
The example of bulleted text is: Worn down by trying to juggle everything. The word “everything” doesn’t align with the line above it. This is true for all of the bullets on this page.
When the page was created, I used the Arrow List format in wordpress for all of these lists. But, they display as round bullets. I thought Arrow Lists wrapped text properly.
Rather than correcting each bulleted list separately, I’d like to make the correction to any and all lists.
How can that be done?
Thanks,
Hi Team,
Simple… I need to get the author id inside of td_module_2.php loop
<div class=”td-module-meta-info”>
<?php echo $this->get_author();?>
<?php echo $this->get_date();?>
<?php echo $this->get_comments();?>
//example
<?php echo $this->get_author_id();?> —/ or something like that
</div>
this is because a need to pass to other function this ID in this place, thanks for all your help
Hi ,
I want to post news from many newssiye , example – bbc , cnn , ch4 .
End of the post this should be original news source name , but This shows my name as a author . I can take the author name off from the post but in the actual site under author name come my id from wp . I want to show the original name of the source and original author name . Please give me a instructions.
Moreover I can see in the tutorial video of newspaper shows me a plugin when editing post , I don’t know the name of that plugin so I can use the same way as the tutorial shows .
Many thanks
Hi.
We purchased a theme license to use in a development environment (www.develop.com – example).
Each new client under development is a subdomain in this development environment (www.develop.com/client1 – example).
We now redirect a customer’s domain (www.client1.com) to the http://www.develop.com/client1 environment and purchase a new license (for the domain http://www.client1.com).
How do I change the license (purchase code) of this environment using the new one? The active license is the one we used in http://www.develop.com domain (example).
Cant really get mine to work.. Inline and Top also bellow
For example: https://villalivet.se/villaplaytv/kokstrender-var-fargerna-ar-tillbaka/
It works in the header but not on the other places.
Can I use the same script for all places?
<!– /97XXXXX7/XXXXXX –>
<div id=’div-gpt-ad-1XXXXX-XX’ style=’height:90px; width:728px;’>
<script>
googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-XXXX-XX’); });
</script>
</div>
Hi,
This can be done with some css code, first you must identify the menu item which you want to modify using your browser inspector – https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/ so the code will apply only to that menu item – https://www.screencast.com/t/UsMLup3LTY Then you could set a custom width to that sub-menu using this code (replace the menu example with your menu item and change the width to the value you want) enter it in Theme panel->Custom Css
.menu-item-3580 .sub-menu {
width: 300px!important;
}
Result should be like this – https://www.screencast.com/t/9SxNkeVB2KX6
Thanks
1.- Deactivate and uninstall all the plugins you dont use
2.- Run some database ccleaner. I recommend you gargabe collector + wp sweep .
3.- Rock&Roll
🙂
Bogdan said: “You also serve 2 versions of ypur site. That is the main cause of your issue. Here is an example:
http://screencast.com/t/l43vx4g3TycE – http://screencast.com/t/5uxDKQDT6ikb
You should serve only one version of your wordpress site. “:
persources.com gives me chinese characters
http://www.persoures.com does not. Is there a way to make the default http://www.persources.com?
I`m testing the Newspaper-Theme within a localhost-installation and will go online at the end of the week. I was able to configure most of the things and I am happy with the theme. But there is a question about the thumbsize of Big Grid 1 elements.
I`ve managed to edit the thumbsize (height) of Block 5 elements from 324×235 to 324×324 and it worked.
–> td_config.php:
td_api_thumb::add(‘td_324x235’,
array(
‘name’ => ‘td_324x235’,
‘width’ => 324,
‘height’ => 324,
‘crop’ => array(‘center’, ‘top’),
‘post_format_icon_size’ => ‘normal’,
‘used_on’ => array(
‘Module 3, 4, 5, 11, MX3’, ‘Block 1, 5, 6, 13, 17, 20’
),
‘no_image_path’ => td_global::$get_template_directory_uri,
)
);
Then I restarted Apache/MySQL-Services in XAMPP Control Center –> Regenerated Thumbnails with a Plugin. Block 5 elements now appear as a square on my homepage as they should.
I did the same for Big Grid 1 elements and changed them in td_config.php to 265×265 (4 small items right) and 534×534 (1 big item left).
td_api_thumb::add(‘td_265x198’,
array(
‘name’ => ‘td_265x198’,
‘width’ => 265,
‘height’ => 265,
‘crop’ => array(‘center’, ‘top’),
‘post_format_icon_size’ => ‘normal’,
‘used_on’ => array(
‘Big grid 1, 3, 7’
),
‘no_image_path’ => td_global::$get_template_directory_uri,
)
);
td_api_thumb::add(‘td_534x462’,
array(
‘name’ => ‘td_534x462’,
‘width’ => 534,
‘height’ => 534,
‘crop’ => array(‘center’, ‘top’),
‘post_format_icon_size’ => ‘normal’,
‘used_on’ => array(
‘Module 19, Module MX5, MX17’, ‘Big grid 1, 3, 4, 6, 10, 12’
),
‘no_image_path’ => td_global::$get_template_directory_uri,
)
);
Then I regenerated the thumbnails again but nothing changed in my Big Grid 1 on the homepage. The elements still have the default sizes (534×462 and 265×198).
Do I have to take further steps to change the Big Grid 1 Thumbsizes successfully?
Thanks