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 :)
newtag
tagDiv Member

hi, thx for the quick answer.

Can you test the same without vc – i dont use it…?
thx

newtag
tagDiv Member

Ok – thx.

Please implement this in the next update. In this case i will buy a second theme to support you.

best

newtag
tagDiv Member

hi, thx for the info. But the other discussion is not helpfull,

I found a plugin that works perfect on other themes –> https://wordpress.org/plugins/infinite-transporter/faq/
But i cant get it work on the single page (i already included the code in the functions php)
The Plugin works nearly with alle free themes on the wp repository but not with the newspaper theme 🙁

I can change the templates if you tell me wich changes i should make. I tried to include id=”content” – but it does not work. It would be awesome if you can help me out. please install the plugin and check it – it takes only 5 minutes 🙂 This is a must have for me – this was the reason why i asked before i bought the theme. Thank you so much

best

  • This reply was modified 10 years by newtag.
  • This reply was modified 10 years by newtag.
newtag
tagDiv Member

Hi – sorry but you dont understand what im asking for!!!

Please – reproduce
1. Create a new category for example “test”
2. create antoher 3 new categories and set the “test” category created before as parent category for these 3 new categories. So the 3 Cats became child categories of the “test” category.
3. use the Category template Style 8 (http://demo.tagdiv.com/newspaper/category/template-style-8/ for the “test” category.
3. View the “test” category (with the Category template style 8) in the frontend.
4. As you can see – the empty categories are showing up below the title!!!

Question:

HOW CAN I HIDE THIS EMPTY CATEGORIES?????
This makes no sense to display emty categories – in my opinion a bug

thx

newtag
tagDiv Member

ok thx

newtag
tagDiv Member

HI, i found the bug, please read my answer https://forum.tagdiv.com/topic/infinitive-loading-on-category-dont-work/#post-103447

if you have any idea – it would be awesome.

best

newtag
tagDiv Member

Hi again! I debuged the error:

1.
When im using infinity scrolling on the category page – the theme inserts the following inline js code:

<script>
jQuery(window).ready(function() {
tdAjaxLoop.loopState.sidebarPosition = '';
tdAjaxLoop.loopState.moduleId = '15';
tdAjaxLoop.loopState.currentPage = 1;
tdAjaxLoop.loopState.max_num_pages = 7;
tdAjaxLoop.loopState.atts = {
'category_id':2601
};
tdAjaxLoop.loopState.ajax_pagination_infinite_stop = 0;
tdAjaxLoop.init();
});
</script>

2.
The firebug Console shows following Error:

ReferenceError: jQuery is not defined

jQuery(window).ready(function() {

3.
The Problem, why this error is accuring is, that im using a plugin to move the js files to the footer. In this case the inline Code mentioned before is called before the js files.

4. ANY IDEA How to solve this Problem without removing the Plugin? If its possible to move the inline js to the footer, below the other scripts – i guess it will work – but how?

thank you so much

newtag
tagDiv Member

Hi,

Please read my question before you answer – im already using the latest version and IM NOT USING VS Composer!

So please test the infinite pagination without the VS PLugin and tell me if there is any bug – so i can fix it.

thx

newtag
tagDiv Member

Addition – im not using the VC plugin – but i thing this has nothing to do with it – seems like a bug in the theme…?

newtag
tagDiv Member
newtag
tagDiv Member

Ok, thx.

best

newtag
tagDiv Member

Hi,

thx for the quick response- i will try it.

best

newtag
tagDiv Member

HI,

1.
I forgot to mention – that im – NOT – using the VC Plugin!!!

2. Firebug says, there is a error:

ReferenceError: jQuery is not defined
var html_jquery_obj = jQuery('html');

3. Part of my sourcecode where you can see the scripts in the footer area just above the script with the error:

<script type='text/javascript' defer="defer" src='http://justatestsiteforyouname.com/wp-includes/js/admin-bar.min.js'></script>
<script type='text/javascript' defer="defer" src='https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js'></script>
<script type='text/javascript' defer="defer" src='https://cdn.jsdelivr.net/jquery.migrate/1.2.1/jquery-migrate.min.js'></script>
<script type='text/javascript' defer="defer" src='http:/justatestsiteforyouname.com/wp-content/themes/justatest/js/tagdiv_theme.js'></script>

<!-- JS generated by theme -->

<script>

		(function(){
			var html_jquery_obj = jQuery('html');

			if (html_jquery_obj.length && (html_jquery_obj.is('.ie8') || html_jquery_obj.is('.ie9'))) {

				var path = 'http://justatestsiteforyouname.com/wp-content/themes/justatest-child/style.css';

				jQuery.get(path, function(data) {

					var str_split_separator = '#td_css_split_separator';
					var arr_splits = data.split(str_split_separator);
					var arr_length = arr_splits.length;

					if (arr_length > 1) {

						var dir_path = 'http://justatestsiteforyouname.com/wp-content/themes/justatest';
						var splited_css = '';

						for (var i = 0; i < arr_length; i++) {
							if (i > 0) {
								arr_splits[i] = str_split_separator + ' ' + arr_splits[i];
							}
							//jQuery('head').append('<style>' + arr_splits[i] + '</style>');

							var formated_str = arr_splits[i].replace(/\surl\(\'(?!data\:)/gi, function regex_function(str) {
								return ' url(\'' + dir_path + '/' + str.replace(/url\(\'/gi, '').replace(/^\s+|\s+$/gm,'');
							});

							splited_css += "<style>" + formated_str + "</style>";
						}

						var td_theme_css = jQuery('link#td-theme-css');

						if (td_theme_css.length) {
							td_theme_css.after(splited_css);
						}
					}
				});
			}
		})();

	
	
</script>

4. When i exclude the defer loading of the jquery.min.js file – the error gone!

5. I think this can help http://stackoverflow.com/a/33205519 – please also look at the other answers.
But i dont know how to fix it.

6. If you can help me out, it would be awesome!

Thank you so much

  • This reply was modified 10 years by newtag.
  • This reply was modified 10 years by newtag.
  • This reply was modified 10 years by newtag.
newtag
tagDiv Member

Hi,

did you read my full question. Nothing moves to the bottom with the booster plugin. No conflicts. i decided to use the code i pasted in the 1. Q. If you set up a page with the short code and paste the function in to your function.php you can reproduce this issue in 2 minutes and tell me if you see anything on your site. This takes the same amount of time as answer my question with some other question i already mentioned in my 1. question.

thx

  • This reply was modified 10 years by newtag.
newtag
tagDiv Member

Thx – the link helped me.

best

newtag
tagDiv Member

Ok, thx for the answer! I understand…

newtag
tagDiv Member

hi, i dont use any icon in the frontend… also no wapp icon. Can you tell me a way how i can remove / deque or deregister it from the front? Would be awesome

newtag
tagDiv Member

i understand. im using style 12 – can i override the file in the child theme – if yes – in wich file i should insert the height and width tag?

best

  • This reply was modified 10 years by newtag.
newtag
tagDiv Member

ok, thx!

newtag
tagDiv Member

Hi, thx – but there is one more css file for a google font. Without the functions code i calls 3 files..
Any idea to remove also the other one

best

newtag
tagDiv Member

Perfect – thx.

newtag
tagDiv Member

Hi, no i mean a different thing. Tell me the proper code to echo the thumb in the single post below the main title. Im using the STYLE 8 – you find this setting in the theme panel under under “Post Settings” – “DEFAULT SITE POST TEMPLATE” . This Style puts the thumb to the background – but i als need the same Thumb below the title but not site-wide, just for posts in a specific category…

thx

newtag
tagDiv Member

Hi, this only hides the sharing button i guess – i mean the other one. The ohter twitter buttons ads a lot of requests to my site and i dont need the button! As i mentioned before – the TOP ARTICLE LIKE/TWEET and BOTTOM ARTICLE LIKE/TWEET are not the on you are mentioning…

thx

newtag
tagDiv Member

hi bogdan – again. Please upload a image in 696×420 pixel. You will see that the theme is creating another image… this is my Problem. I tested it with looking into the upload folder… The other things are clear…

newtag
tagDiv Member

Hi, thx for the link to the topic.

But i try to reduce the number of images in my upload folder. Any idea – how to use the default uploaded image and avoid the creation of the same image in the same size? I think this would be very usefull – not only for me

best

Viewing 25 posts - 1 through 25 (of 27 total)