- 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,
You can copy over the code from one of the other templates but this will mean you will not have template 7 anymore as it will become template 2 for example. Every post template has 2 files co responding to it: http://screencast.com/t/hacLP1g8K1b1
You can copy the code from single_template_2.php and loop-single-2.php to the template 7 files and replace the original code.
Thank you!
Hey guys,
I have some experience with web and html but don’t assume I’m an expert.
So I built my site several months back and installed a plugin to essentially allow me to customize the avatar/profile pictures of users from within wordpress rather than using Gravatar.
It originally worked but for some reason just stopped days later. I hadn’t installed any new plugins and tried uninstalling and reinstalling the plugin with no success.
Here is an example post where my profile pic should be showing. http://riderflow.com/uk-enduro-series-is-shaping-up-to-be-a-biggie/
Would appreciate the help on identifying whats blocking these. thanks steve
This is indeed a common wp matter, happening for any theme and/or plugin. If you wish, you can check this using a default wp theme and check this like for example: ..wp-content/themes/twentyfifteen/inc/back-compat.php – http://screencast.com/t/OUaMWTXrFck
These request are picked up by google and indexed as they are accessed however adding a redirect rule for the crawled links that appear in your site’s google webmaster tool and in time they will disappear, you can do a search in this regard on these forums and you’ll find many answers referring to this occurrences.
Unfortunately we cannot provide that quick fix you are hoping for, you’ll have to make your wp configurations on this matter on your own and I’ll also pass this to our theme developers and if they can find a solution we will make a tutorial on this concern and notify you of it, however I cannot give you any additional informations on this at the moment. Sorry!
I have found this article which may offer you a start and help you restrict direct access to your theme php files: http://www.acunetix.com/blog/articles/wordpress-security-restrict-theme-php-file-access/
You can also set your sever to log errors but not display them, you can ask your host about this server configurations option. So in the cases above errors will not be shown just a blank screen.
Hope you’ll find this useful!
Thanks for the message!
Hello srampia,
1) If you want to reduce the space between Image and Post Heading for these kinds of Blocks, you have to use a bit of CSS for each to achieve as you want. Please try the code below and add it in Theme panel->Custom CSS area.
The code for Block 1 is ->
.td_block_1 .td_module_6 .item-details {
margin-left: 105px;
}
.td_block_1 .td_module_4 .td-module-thumb {
margin-bottom:5px;
}
The result is -> http://screencast.com/t/gUqqBDU31H
The code for Block 2 is ->
.td_block_2 .td_module_6 .item-details {
margin-left: 105px;
}
.td_block_2 .td_module_2 .td-module-thumb {
margin-bottom:5px;
}
The result is -> http://screencast.com/t/b4gRVm3Fu
The code for Block 4 is ->
.td_block_4 .td_module_2 .td-module-thumb {
margin-bottom:5px;
}
The result is -> http://screencast.com/t/KmaztW6G8NE
2)If you want to hide the meta info information, you have to use a CSS code to hide it. Try the code below and add in Theme panel->Csutom CSS area.
The code is ->
.td-module-meta-info{
display:none;
}
3)If you want to change the color of Post Heading and Excerps, please try thecode below.
The code is ->
.home .td-excerpt {
color:green;
}
.home .td-module-title a {
color:red;
}
The result -> http://screencast.com/t/Wgcylhm4z
Hope this helps!
Thank you for the message!
Hello,
Please provide an example of what you mean as the standard pagination on the homepage looks like so: http://screencast.com/t/pUCCgWzc but this is the latest articles pagination. You could be talking about a block pagination. Please provide more details.
Thank you!
Hi
You can echo out a value or a string from the custom field using a code like this one: http://screencast.com/t/XRkkTQhw5Ap – http://screencast.com/t/5qlGC4RQSSy – http://screencast.com/t/5qlGC4RQSSy
<div class="td-excerpt">
<?php
$post_meta = '<i style="font-size: 20px">' . get_post_meta($this->post->ID, 'my_custom_field', true) . '</i>';
echo $post_meta;
?>
</div>
In your example you’re using $post->ID to get the post id but this will not work because the $post variable it’s not defined in td_module_11. The variable is defined in td_module class, so in order to be accessed it must be called as in the above example.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hello mflee,
Unfortunately, our theme does not have such an option to achieve 4 column to display your posts. Most of our blocks are structured on 3 columns. If you want to display 4 columns and you want to have the same style for blocks as in the example suggested by you, is require to do additional customizations that involve custom work. If you want to display more levels in our theme and you are not aware the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom services at the moment, sorry!
Thank you for your understanding!
How do I configure WooCommerce as shown on the newspaper_tech theme?
I have WooCommerce active and have the “shop”, “product category” and “product” established, yet they do not conform to the Newspaper theme.
The examples below are what I want to visually create:
http://demo.tagdiv.com/newspaper_tech/shop/
http://demo.tagdiv.com/newspaper_tech/product-category/posters/
http://demo.tagdiv.com/newspaper_tech/product/flying-ninja/
Can someone please assist me?
Or, if there is someone who is knowledgable and available to create this for me, I will pay that person $50 to save my sanity LOL.
Thank you.
Skype: Ntronet LLC
Hello. I install newspaper theme and regularly getting error 500 when working in dashboard. And error 500 in posts.
And my dashboard works very slow. I use VPS hosting.
I use latest versions of this plugins:
- All In One SEO Pack
- Disqus Comment System
- Easy Social Share Buttons for WordPress
- FeedBurner FeedSmith
- Google XML Sitemaps
- Ninja Popups
- Russian Date (utf-8)
- RusToLat
- WordPress Database Backup
- WP Super Cache
- WP-Mail-SMTP
- WP-PageNavi
- WPBakery Visual Composer
In logs i see this:
[Wed Mar 02 01:29:37 2016] [warn] [client 31.31.203.70] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://fototips.ru/camera-test/obzor-obektiva-samyang-35mm-f1-4/
[Wed Mar 02 01:29:37 2016] [error] [client 31.31.203.70] Premature end of script headers: index.php, referer: http://fototips.ru/camera-test/obzor-obektiva-samyang-35mm-f1-4/
and this
[Tue Mar 01 22:50:39 2016] [error] [client] Premature end of script headers: admin-ajax.php, referer: http://site.ru/wp-admin/post.php?post=15692&action=edit
[Tue Mar 01 22:50:40 2016] [warn] [client] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Help me please!
It would have been best to send you a link, but the site is still under construction, but I have a couple of screen shots I can send you, the plugin I’m using is the Elite Video Player, it’s flexibility with logo placing, ad placing and mp4 video. let me know how to send you the screen shots, and this is a sample of the video shortcode [Elite_video_player id=”2″]
Thanks
-
This reply was modified 10 years by
The Transnational Post.
There are some really good articles online about “hardening” WordPress you should look into, as this is NOT a new issue. WordPress is so well entrenched on the web, that ALL sites which have any WordPress elements are easily “probed” for known vulnerabilities in certain plugins, themes, javsscript, php, xml-rpc, comments boxes, forms, forums, and sign-up/sign-in boxes.
WP codex – official docs on ‘hardening’ WP
http://codex.wordpress.org/Hardening_WordPress
Good older article
https://premium.wpmudev.org/blog/wordpress-security-tips/
Even older (some might not work with WP4x)
http://www.wpbeginner.com/wp-tutorials/11-vital-tips-and-hacks-to-protect-your-wordpress-admin-area/
topic thread
http://www.wpbeginner.com/tag/wordpress-security/
Periodic free scan of site with Securi advisable
https://sitecheck.sucuri.net/
(also sign up for their newsletter about breaking issues with WP core, plugins, etc.)
ALSO:
learn to use your server side ERROR LOG, and perhaps see if your web host can setup CSF/IPtables for you to auto-block probes to your IP.
In your http/web error log you should be able to see the error being generated and the IP the probes are coming from, then BLOCK that IP (we had to block all of Ukraine recently, for example for huge amount of attacks — and the ISPs don’t respond to/resolve issues after 60 days!).
Just food for thought.
I might wrangle this into a tutorial with some examples of the error log when I have a free brain cell 🙂
-
This reply was modified 10 years by
simchris.
Thank you for the solution! It works, but not with all Ad-Banner. How can I find out the variable from the other banner, for example the one “OTTO” on the frontpage?
Hi,
Depending on the module ( thumbs image ) you are using on mobiles the image quality could get influenced as a thumb used on your desktop version of your site at a 250px wide for example on mobiles it could get stretched to reach the full width of the screen ( view-port ) to, let’s say, 500px therefore it will get stretched and lose its clarity.
Let us know if you need any additional details on this.
Thanks!
Hey guys,
I’m using block 16 and block 4 on my homepage. I have all the excerpt settings set to standard. Every once in a while (I haven’t posted that much yet, still testing) I make a post and for some reason the excerpt is too long. Examples are my post from the 1st of March and the 19th of February > http://tinyurl.com/jaeugf5
I don’t understand why. I have played around with the excerpt length, but these posts always have a longer excerpt compared to the other posts. How is this possible? I don’t have a custom excerpt set.
Thanks.
Hey guys,
Just noticed after about 18 months (lol) that my URL for my home page (https://unplug.tips/) is different in the Yoast snippet editor, I’ve tried to change it but it keeps reappearing as unplug.tips/example-post/
I’ve been through all the Yoast settings, refreshed the permalinks, made a new home page to test and that adds the same /emaple-post/ text to the end of the URL in Yoast.
Let me know what I’ve done wrong please I’m lost and have spent the afternoon searching the forum to no avail
Many thanks
D
Hello,
As I see it, your 3 replies refer to 3 different issues.
1)For the first one we are not sure how you are getting these errors so please provide more details and provide an example. you can send us an email at contact@tagdiv.com and provide wp-admin and ftp access if it will require investigation on our part.
2)The site you exemplified has customization done that makes the javascript render the code on the front-end. The code seen there is actually theme specific code: http://screencast.com/t/PQqcgiWF
This is a customization the user made, not a theme bug or hack.
3) The call to undefined error appears when trying to access the theme files directly. These files were not meant to be accessed directly so you can follow this topic to fix the error: https://forum.tagdiv.com/topic/fatal-error-in-wp-contentthemesnewspaper/
Thanks.
I believe the link you sent me it’s about changing the font ‘size’ but this time i would like to know how to change font. For example, from arial to different font. Thank you.
Hello,
Trust everyone is doing good.
Can someone help me understand on “How to add a 3×2 sponsored content widget directly under the article pages”. Am looking forward to integrate “taboola” to my website.
The position am looking at it is above ” related articles” & ” more from author” tab. Looking forward to get some support on this. Thanks in advance.
Thanks
Jacob
Hi
I am getting a large number of hits on the 404.php and other files and for some reason it is returning this on different lines:
Fatal error: Class ‘td_global’ not found in /home/user/public_html/wp-content/themes/theme/404.php on line 6
These are the hackers requests:
“GET /wp-content/themes/NAME/apache-conf.php
“GET /wp-content/themes/NAME/wp-ajax.php
“GET /wp-content/themes/NAME/wp-ajax.php
“GET /wp-content/themes/NAME/system.php
“GET /wp-content/themes/NAME/system.php
“GET /wp-content/themes/NAME/thanks.php
“GET /wp-content/themes/NAME/thanks.php
“GET /wp-content/themes/NAME/mide.php
“GET /wp-content/themes/NAME/mide.php
“POST /wp-content/themes/NAME/header.php
“POST /wp-content/themes/NAME/header.php
“POST /wp-content/themes/NAME/functions.php?liu=qt&fukq=t&RNv=f
“POST /wp-content/themes/NAME/functions.php?liu=qt&fukq=t&RNv=f
“POST /wp-content/themes/NAME/footer.php
“POST /wp-content/themes/NAME/footer.php
“POST /index.php?liu=qt&fukq=t&RNv=f
“POST /index.php?liu=qt&fukq=t&RNv=f
“GET /wp-content/themes/NAME/author.php
“GET /wp-content/themes/NAME/author.php
“POST /wp-content/themes/NAME/archive.php
“POST /wp-content/themes/NAME/archive.php
“POST /wp-content/themes/NAME/404.php
“POST /wp-content/themes/NAME/404.php
“GET /wp-content/themes/NAME/404.php?pwd=1
“GET /wp-content/themes/NAME/404.php?pwd=1
same error on different lines: Fatal error: Class ‘td_global’ not found in
For now I had to delete the file completely until you advise with a solution.
PS: I am not using the theme’s default name, I have created my own, that might help find the cause of the issue.
I hope you can help ASAP.
Thanks
Hi
I am not sure where you want to display the parent category but there are two situations:
– if you want to display it on posts then you will need a new function in td_module_single_base.php file: http://screencast.com/t/0gBPfJtP7 then call the function in loop file corresponding with the post template used: http://screencast.com/t/N9ZTjVYB The result will be like here: http://screencast.com/t/mIh5zDfdE
<?php echo $td_mod_single->get_parent_category(); ?>
– if you want to display it on modules the file that must be edited is td_module.php: http://screencast.com/t/5oCbVAjEc then call the function on each module where you want to display the parent category: http://screencast.com/t/ZmCrrUDeNY6 – http://screencast.com/t/jgJDfRbaS
<?php echo $this->get_parent_category(); ?>
Here is the code of the function used as example: http://pastebin.com/1vHDfyJq
Note that this is just a basic example but can be used in many different way depending by the desired result. I didn’t applied any style on it, but this can also e done using css class in side php code. You can use others functions from the theme as example but please consider that this customizations require good coding skills and also many tests in order to work fine. Unfortunately time does not allow us to provide any custom services at the moment so if you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.
Thanks!
-
This reply was modified 10 years by
Andrei L..
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fxingato.com%2F&tab=mobile
Please check my site speed I can send you wp user name and pass.
So I’m blessed with the kind of ethnic last name that includes punctuation. When I put it into the “Footer copyright text” in Newsmag, it shows up on the page with a slash that shouldn’t be there.
My name is Dane O’Leary and that’s how I’m typing it into the copyright text area, but it’s showing up on my site as “Dane O\’Leary” for some reason. I’ve tried inputting the code for the apostrophe, I believe it’s &39; or something to that effect, and while it’ll work temporarily, the next time I go into the theme panel and save some other, unrelated change, the slash appears again.
It’s kind of getting on my nerves. Any idea how to fix this? This has been happening pretty much since I first started using Newsmag, but it only just dawned on me to ask about it here.
Hello Tagdiv team,
Please help me some seo problems.
I publish my problem google product forums so please check the link:-
https://productforums.google.com/forum/?utm_medium=email&utm_source=footer#!msg/webmasters/bVBw-I1RnB4/GTm-AumGIAAJ
issue:-
ADD A REPLY
Hello Everyone,
For the below url. I have submited the sitemap in Search console and do the Fetch and render request. But since last 3 days google has not index the website. Even the homepage.
https://www.industriesstory.com
Could any one help. What I am doing wrong here?
Search console property -https://www.industriesstory.com
https://www.industriesstory.com – 200 code return
http://www.industriesstory.com – 301 redirect to above property
http://www.industriesstory.com – 301 redirect to http and then 301 redirect to https version.
However for indexing I am using the https://www.industriesstory.com property. Which returns 200 Code and no robot.txt issue there. Google Bot is allowed to fetch and render.
Hello,
This issue could be caused by these errors from your console: http://screencast.com/t/lmPSV1nfKO
If you use a cache plugin, you also need to clear the cache after disabling plugins as your changes will not take effect until the cache is released(you also have a js error that is preventing the pagination to work). Also please provide an example of what code you are trying to add in the theme panel and how you add it so we can have an idea of the code implementation.
Thank you!
Hello arcane.zeal,
If you want to achieve the similar effect with the example explained by you above, I suggest using our TagDiv Gallery feature. For more information about this kind of feature, please consult our documentation here -> https://forum.tagdiv.com/gallery-2/
If is not what you want to achieve, and if you want to develop our theme to display more levels, please consider hiring a freelancer/developer to do this for you because we cannot provide custom services at the moment, sorry!
Than kyu for the message!