Search Results for 'remove tag from post'

Results from the Forum
Simion C.
tagDiv Staff

Hi,

The theme will not delete any content you made for you website. If you have installed a demo before, uninstalling it will remove only the demo content that was imported. Your posts are stored in the database, they will not be removed
https://forum.tagdiv.com/installing-demos/
You can always and it is recommended to make periodic backups, in case something unexpected happens
https://codex.wordpress.org/WordPress_Backups

Thanks

Catalin
tagDiv Staff

Hello Szentmaxi,

1)Unfortunately, our theme does not have any such an option that allows you to display the subtitles of your posts in blocks/modules, sorry! If is not what you mean, please provide more details so I will be able to provide a more accurate response.
2)Please check all of our list of blocks and you will see that only one block has active this button ->Read More, like Block 12, as you can see here -> https://demo.tagdiv.com/newsmag/block-12/
3)If you want to remove the More from Author tab for each post, you should use the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td_block_related_posts .td-related-right {
display:none!important;
}

The result is here -> https://www.screencast.com/t/dYFZ2m2NP4
4)Notice that our theme has an option which allows you to hide the date from blocks/modules and from post pages, like this -> https://www.screencast.com/t/OwarQc7Nsej -> https://www.screencast.com/t/KH3nNG4EoHMa If you want to hide the date only in certain places, you should use a bit of CSS code (by category IDs) to do this.
5)If you are using the same post template for the entire website, notice that you can do this from Theme panel. First of all, at the post template, you should leave just active From panel -> https://www.screencast.com/t/gzNCZvvW and then, from panel you should choose your general post template which will be used on your site, like this -> https://www.screencast.com/t/gCDwW7toZi1J For more information about this feature, please consult the documentation here -> https://forum.tagdiv.com/newsmag-post-templates/

Thanks for your understanding!

tomcruise624
Participant
#0

Hi, I like the related articles that you provide, but I really need to remove all category tags from appearing in related posts. because it’s repeated the link many times and that is not good for SEO.

Screenshot: http://prntscr.com/fk8g3u

Kind regards,
Dev

Simion C.
tagDiv Staff

Hi,

That is how the Homepage post element that you are using displays
https://demo.tagdiv.com/newspaper/homepage-one-top-post/
You can edit the homepage with the composer you used to create it, and remove or add the elements you want. Visual composer if the page is created with this editor, or tagDiv composer if you used this one. Do not use tagDIv composer to edit pages, if the page was created in Visual composer. This may lead to problems
https://forum.tagdiv.com/visual-composer-tagdiv-composer-transition/
More about the tagDiv composer here
https://forum.tagdiv.com/tagdiv-composer-tutorial/

Thanks

Bogdan B.
tagDiv Staff

Hello,
This issue happens when using visual composer on posts. If you want to move to the new page builder, you will have to remove visual composer elements and shortcodes from your posts. Otherwise the content layout will break such as you mentioned above. The issue is solved by disabling the tagdiv composer but you will not be able to use the tagdiv composer with visual composer shortcodes on your posts. Sorry. Visual composer was never meant to be used on posts: https://forum.tagdiv.com/how-to-use-visual-composer/

Thanks.

DaveS
Participant
#0

Hi tagDiv team,

I recently installed Woocommerce and need the search function on all woocommerce pages to search only within woocommerce products. Currently the default search returns results that include all posts on the site including product pages and post pages.

I need to either change the function of the theme’s default search in the menu to search only within woocommerce products while the user is on a woocommerce page (this would be really the best scenario), or
to stop the function for the default search so that it is not loaded on woocommerce pages at all (and use woocommerce search). If the second scenario is used, I would like to use the best option for this from optimization point of view – not load the search function on woocommerce pages at all, or hide the search from the menu.

p.s. We have some standard pages like: Cart, Order, Order received – that are non-woocommerce pages, but should be included to the rule above.

Big Thanks in advance for your time!

Simion C.
tagDiv Staff

Hi,

In that file there are two sections. One containing the top sharing for the posts
https://www.screencast.com/t/EV7SJEjna
And lower in that file is a section with the bottom sharing of the post
https://www.screencast.com/t/cXKawQ2l3SRS
You will have to make modifications according to where you want them to display, top or bottom. To change the language for the Facebook like in the bottom sharing enter the code exactly like this
https://www.screencast.com/t/RCIUxAqBO8F
https://www.screencast.com/t/zY1y16MXVC
https://www.screencast.com/t/2puNN5QuU

This is the code used locale=bg_BG&
There you can remove the twitter button for the section you want, by commenting or deleting the code
https://www.screencast.com/t/nkhl0Fkjjs
Or you could simply hide it with css
https://www.screencast.com/t/yq9ent8qrKg

.single #twitter-widget-1 {
display: none;
}

You could make the modifications to this file in a child theme if you don’t want to make them after each theme update. The respective file can be modified through a child theme.
Here is a guide about cresting a child theme and how to use it
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks

Simion C.
tagDiv Staff

Hi,

It seems you have reviews for the posts. If posts have reviews this will be displayed on the block modules replacing the other meta data. The reviews are present on your page but they are hidden
https://www.screencast.com/t/ruUv8QWKmWN
If you would like to remove the reviews form the blocks and display the date instead, you will have to make a modification in the file mentioned in this topic by Bogdan
https://forum.tagdiv.com/topic/hide-review-rating-from-blocks/

Thanks

DaveS
tagDiv Member

Hi,

thanks for the explanation. It seems easy, but for some reason it isn’t working on my side.

I followed exactly your instructions, but the language doesn’t change.

As for the twitter button – I would like to remove the twitter button and tried with removing the following code from the same file:

$buffy .= ‘<li class=”td-classic-twitter”>’;
$buffy .= ‘href) . ‘” data-text=”‘ . $this->title . ‘” data-via=”‘ . td_util::get_option(‘tds_’ . ‘social_twitter’) . ‘” data-lang=”en”>tweet <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=”//platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);</script>’;
$buffy .= ‘‘;

But the button isn’t disappearing.

Note: I’m talking about the buttons at the end of the post pages, not under the title.

This is the only cache that I’m seeing in my page source code (I don’t use a caching plugin):

var tdLocalCache = {};

( function () {
“use strict”;

tdLocalCache = {
data: {},
remove: function (resource_id) {
delete tdLocalCache.data[resource_id];
},
exist: function (resource_id) {
return tdLocalCache.data.hasOwnProperty(resource_id) && tdLocalCache.data[resource_id] !== null;
},
get: function (resource_id) {
return tdLocalCache.data[resource_id];
},
set: function (resource_id, cachedData) {
tdLocalCache.remove(resource_id);
tdLocalCache.data[resource_id] = cachedData;
}
};
})();

And finally, is this theme update safe solution? Will it remain after theme update?

Thanks for all your time and support! Much appreciated!

Amit
Participant
#0

Need help to remove/disable all the ads from the CPT.

I don’t want CSS solution. https://forum.tagdiv.com/topic/remove-ads-from-custom-post-type/

As ads and content both come from the <?php echo $td_mod_single->get_content();?>,
Is it possible to remove ad hooks which getting triggered from td_module_single_base.php by creating a new template for CPT?

Simion C.
tagDiv Staff

Hi,

You could try disabling all your plugins except the ones provided in the theme package, clear any aching installed and try again. Maybe a plugin is causing this.
If you still cannot create a smart list for the posts, please send us an email at contact@tagdiv.com and provide there admin login information so we can take a look. Also paste a link to this topic.
I will edit your reply and remove the login information. Please do not post this data here on the forum, the topic is public for everyone to see.

Thanks

rj
tagDiv Member

It’s definitely that plugin’s fault. If I just remove the ads from appearing in the posts with that category and tag, they show up correctly. However, I still need a way to show those ads. Since I’m still using that plugin to show a bunch of other ads that are not being affected with this issue, I would rather not have to install another plugin to do this. So how can I do this through the child theme files? All I need is to show an image after the text of articles that have that category or tag. What files would I have to modify to achieve this?
Thanks in advance.

drvarun5179
Participant
#0

Hello fellas,

Just trying to make Newspaper theme 8 abit more useful :). I’m delivering a short post to all the fellas who are still trying to somehow rank their website, hope it helps.

1. The Title on top of page is already H1 Title, so don’t include H1 tags in your post. Instead, use H2 tags, these will appear as Site Links in SERPS. Here are just two of my posts that appeared on Google:

SERP Ranking

SERP Ranking Google

2. Don’t fall for green light for Yoast, it’s a stupid (yes!) for keywords. Use your imagination, google already uses synonyms if you have ever done a google search yourself. Instead of stuffing up your article with keywords, focus on content and mix up keywords variation.

3. Disable Yoast auto stop keyword stripping. It’s a dumb feature again. Say you have a post- How to download video, it will detect to and remove it automatically. Disable it under Yoast>Advanced>Permalinks>Clean up permalinks>Keep Stop Words in Slug.

Yoast Disable Clean Permalinks

4. Use Excerpts as a different version of your meta description. Don’t underestimate the power of them, they are not jsut useful to your readers on your site, but also useful to Search Engine Bots. Use them wisely to add secondary meta description.

5. Image- I would recommend you optimize the image size first before uploading it. Name the file with your keywords before uploading to WordPress and add Alt tags, Title and Description to it. Sometimes, images rank better in Google if optimized correctly and they can help you beat up the top ranking posts. Use Wp-Smush also.

6. Use External Links plugin to disable free juice passing from your website to other sites. Use it globally to keep the Search engines to crawling your website only. You don’t want to send cream to other sites, do you?

7. Do constant interlinking, it’s part of super seo!

8. Use cornerstone articles from Yoast wisely. These can actually help you rank better some of your very important posts. I am currently targeting three posts to test it out.

9. If you want to reduce bounce rate, try Inline Related Posts plugin. It’s superb to show related posts inside your post.

10. Disable Jetpack breadcrumbs. I am still testing it though, but they were kind of messing up with Newspaper default breadcrumbs.

11. Remove Websites under comments, a Website tab will just confuse users and will also add to spam. To disable it, simply add code below in your theme functions and also mobile theme functions:

add_filter('comment_form_default_fields', 'website_remove');
function website_remove($fields)
{
if(isset($fields['url']))
unset($fields['url']);
return $fields;
}

I hope it helps, will try to update the guide as much as i can though. Do help me with it if you also want to help others. You can follow me here: https://medicforyou.in

And be sure to check my other guide too on forums: Speedify your Newspaper Blog

Simion C.
tagDiv Staff

Hi,

Make sure the video Id’s that you are entering are correct and valid. Test with the example video provided – https://www.screencast.com/t/BsnyuhohUSP
Also check if the videos you are entering exist, maybe they have been removed.
Setting a featured video should not create that problem. A video in a post should not make your entire website unavailable. This is how a video post should be created
https://forum.tagdiv.com/featured-image-or-video/

Thanks

Anonymous
Inactive
#0

Helllo!

@ problems I see .

1.If I insert video playlist and enter the code of youtube “IE: 4GZqxSpiEJ8,”

Page stay blank not pulling the video.

Second also about video.

If I use a p[ost with video and enter the full URL of video in Feature video my site go dead

until I removed that post

Simion C.
tagDiv Staff

Hi,

The smart list should display properly if you followed the guide to create it
https://forum.tagdiv.com/smart-lists/
It does not remove the paragraphs you entered, from the post content. Something else could be interfering with the smart list. I have created a smart list style 2 like you are using and there is no problem with it.
If you could provide a link to your website where the smart list problem is present, we will inspect it.

Thanks

Catalin
tagDiv Staff

Hello mklokner,

This is not an issue, please read more – https://forum.tagdiv.com/newsmag-post-formats-for-tinymce/https://www.screencast.com/t/zlx9FXoHfU5
If you want to have it full even if you set a sidebar, you need to remove or comment this code from editor-style.css file – https://www.screencast.com/t/4w2vcg3Mzx
Result – https://www.screencast.com/t/OGJBZsctLhk
Please clear your browser cache after you make any custom modification.

Thanks!

Simion C.
tagDiv Staff

Hi,

The comment by default are displayed on the bottom of the post page, after all the other elements. You must edit the theme files according to the post template style that you are using. For example if you are using post template style 3, open the single_template_3.php file and remove the comments from there. There are three cases depending on the sidebar position, you can remove it from all of them or just for your sidebar position case
https://www.screencast.com/t/SznOCpyNLnpY
Then use the code provided above to display the comments where you would want them to be, by editing the corresponding loop file loop-single-3.php in this example
https://www.screencast.com/t/DI1KXXIY04
The result is the comment above the tags
https://www.screencast.com/t/sc1wQnylE

Thanks

Simion C.
tagDiv Staff

Hi,

If you are talking about the Latest articles section that appears on pages, this can be removed by selecting a different page template – https://www.screencast.com/t/JHLMo8aDi
More about the available page templates and their options here
https://forum.tagdiv.com/page-templates-2/
The Related articles section that appears on the post page can be disabled in the theme panel
https://www.screencast.com/t/QMkKqq2gSbqk
If this is not what you wanted to know, please provide more details and examples about what exactly you want to achieve so I may give you a more accurate answer.

Thanks

Simion C.
tagDiv Staff

Hi,

That would require multiple modifications to the theme files. Here you can find these fields being defined in the theme – https://www.screencast.com/t/GQXuyeSOCzS
Maybe this topic can be of further help to you
https://forum.tagdiv.com/topic/remove-related-posts-and-keep-more-from-author/
Maybe additional options can be available regarding this section in future updates, but I could not say for sure when this will happen. Another option would be to disable the Related articles feature, and use a shortcode containing a block set to display the posts you want. Something like this for example
https://forum.tagdiv.com/topic/related-articles-4/

Thanks

GideonLupine
Participant
#0

The Visual Composer Slider Module or Element has suddenly broken. They were displaying posts from certain categories:
http://prntscr.com/f6oiw9

You can see the problem on our staging site:
http://clnnew.staging.wpengine.com/
http://prntscr.com/f6okib
http://prntscr.com/f6ola9

I removed three sliders from the production site:
https://cowboylifestylenetwork.com/

I would like to be able to use the Visual Composer Slider Element again.

What do I need to do to fix it?

Simion C.
tagDiv Staff

Hi,

I do not know exactly what needs to be done to achieve something like that. The Visual composer plugin is very complex, and no solution was provided before for this. Also the theme does not have an option to support this implementation. It would be best to try and use the default options for the blocks, because they already have settings to help you sort and filter the content that is displayed
https://forum.tagdiv.com/block-settings-guide/
You just need to enter one or more post or page Id’s and the block will display them only, until you change the entered data or remove this condition. This is useful when you want to display particular posts in a block or big grid, always.

Thanks

D Dev
Participant
#0

PHP Compatibility Checker gave the following issues for PHP 7 for WPBakery Visual Composer. Can these be forwarded to their team.

FILE: /../wp-content/plugins/js_composer/include/templates/editors/partials/backend-shortcodes-templates.tpl.php
——————————————————————————————————————————————————–
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
——————————————————————————————————————————————————–
44 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= type %>”>
45 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= heading %></div>
47 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= form_element %>
——————————————————————————————————————————————————–

FILE: /../wp-content/plugins/js_composer/include/templates/editors/popups/shared-templates/category.tpl.php
————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 12 WARNINGS AFFECTING 12 LINES
————————————————————————————————————————————————————-
134 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- post_id %>”
135 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- title %>”
141 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- title %></button>
149 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- post_id %>"]” titl…
160 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- id %>”>
162 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- thumbnailUrl %>” alt=””…
165 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- previewUrl %>” data-tit…
167 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% if (!downloaded) { %>
171 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% } else if (downloaded &&…
175 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% } %>
180 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- title %></span>
182 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= status %>
————————————————————————————————————————————————————-

FILE: /../wp-content/plugins/js_composer/include/templates/teaser.html.php
————————————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————————————————————
84 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= id %>” src=”<%= url %>”…
————————————————————————————————————————————————————

FILE: /../wp-content/plugins/js_composer/js_composer.php
————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————
220 | ERROR | Visibility for magic method __sleep must be public. Found: private
————————————————————————————————

Simion C.
tagDiv Staff

Hi,

You can try the code provided below, it will make the Read more buttons and the category tags remain the same, when hovered. All you need to do is remove the code you currently have on the Read more button hover
https://www.screencast.com/t/akn9BQOjLL5P
And then enter this one. Please let me know if this is not working properly for you, or you wanted something else.

.td-post-category:hover,
.td-read-more a:hover {
background-color: #fff!important;
}

Thanks

aeronyc
Participant
#0

Hi there,

I would like to create a poll from time to time for my audience. The poll will use a custom post type and I can create a special layout template from Visual Composer for all poll posts.

I want to remove these elements from the poll posts:
– social share buttons (top and bottom)
– author card
– next and previous post
– category and tag
– breadcrumb

Note that these elements are standard for other posts and I would like to keep them. I will use ‘Custom CSS’ plugin to insert custom codes to remove the above for ONLY poll posts.

Can you provide the codes that I can add in ‘Custom CSS’ to remove the above elements? Or is there any other better way to do this, ie custom css for only certain type of post?

Thanks in advance

Viewing 25 results - 1,401 through 1,425 (of 1,956 total)