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

I already solved it. I made a new variable $advertisement and inserted the do_shortcode into this variable.
Then concatenated it like this $advertisement . $videoiframe
It’s the same as you said 🙂

Thank you

idansx
tagDiv Member

Okay I succeed to insert the shortcode without receiving fatal error by adding slashes before the apostrophe signs like this:
$videoiframe = ‘<?php echo do_shortcode(\'[td_ad_box spot_id=”custom_ad_1″]\’); ?><script type=\’text/javascript\’>………

But the ad is still not shown

When I check the source code it’s shown like this: http://i.imgur.com/JdYwFzb.png

It didn’t translate the PHP code to HTML code. Why?

  • This reply was modified 11 years by idansx.
  • This reply was modified 11 years by idansx.
idansx
tagDiv Member

If you believe this is the easiest way to do it, it’s okay.
I succeed getting it working, but I must get rid of this annoying space.
I have this space on desktop & mobile.

idansx
tagDiv Member

I followed your instructions exactly as you told me to do and it’s not working for me.
To be honest I don’t like this customization I think there are lots of modifications which are unnecessary. I just want to place my ad below the menu instead of above the menu on mobile view only, it should not be that complicated.
Also if you will look at your screenshot, on mobile view you have a huge space between the ad and the content and the ad is not 100% width.

idansx
tagDiv Member

I saw your screenshot from the mobile view and I really don’t like it.
I want it to look exactly as the mobile view of ‘header style 4’ and as you can see it’s not the same.

idansx
tagDiv Member

I don’t know what to comment out so I will prefer to wait for a tagDiv support. thank you.

p.s: I used this guide
https://forum.tagdiv.com/how-to-make-the-site-faster/

Installed wp_booster and made the needed changes for $this->move_js_to_footer and $this->move_style_to_footer
But it’s not working, the plugin files don’t go to the footer and my plugins are not working

idansx
tagDiv Member

I see googleapis requests for fonts I don’t even use

<link rel=’stylesheet’ id=’google-font-opensans-css’ href=’http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&subset=latin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic&ver=4.1&#8242; type=’text/css’ media=’all’/>
<link rel=’stylesheet’ id=’google-font-ubuntu-css’ href=’http://fonts.googleapis.com/css?family=Ubuntu%3A300%2C400%2C500%2C700%2C300italic%2C400italic%2C500italic%2C700italic&subset=latin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Clatin-ext%2Ccyrillic&ver=4.1&#8242; type=’text/css’ media=’all’/>
<link rel=’stylesheet’ id=’google-font-pt-sans-css’ href=’http://fonts.googleapis.com/css?family=PT+Sans%3A400%2C700%2C400italic&subset=latin%2Ccyrillic-ext%2Clatin-ext%2Ccyrillic&ver=4.1&#8242; type=’text/css’ media=’all’/>
<link rel=’stylesheet’ id=’google-roboto-cond-css’ href=’http://fonts.googleapis.com/css?family=Roboto+Condensed%3A300italic%2C400italic%2C700italic%2C400%2C300%2C700&subset=latin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic&ver=4.1&#8242; type=’text/css’ media=’all’/>
<link rel=’stylesheet’ id=’google-vollkorn-css’ href=’http://fonts.googleapis.com/css?family=Vollkorn%3A400italic%2C700italic%2C400%2C700&ver=4.1&#8242; type=’text/css’ media=’all’/>

How do I get rid of it?

  • This reply was modified 11 years by idansx.
  • This reply was modified 11 years by idansx.
idansx
tagDiv Member

Where these google fonts came from? I have no idea how to limit them!

And how do I eliminate the render-blocking javascripts?
See here: https://developers.google.com/speed/pagespeed/insights/?utm_source=pubinsights&filter_third_party_resources=true&hl=en&url=http%3A%2F%2Fwww.viraldump.com%2Fsimple-message-brought-room-school-kids-absolute-tears%2F&priorityGroup=speed

I really want to get rid of the red warnings…

idansx
tagDiv Member

– I did some of the suggestions, but there are many things I don’t know how to solve.
– I have no idea how to do that
– I have 32gb ram, how much to assign to PHP?

idansx
tagDiv Member

I am sorry. I didn’t notice you are not working here.

idansx
tagDiv Member

By the way,

Of course that clean install will probably solve this issue.
But this not a solution. It can’t be that every time that something is malfunctioning on my site I will have to make a clean install.

This is not a professional answer I expected to receive, I am sorry to say…

idansx
tagDiv Member

And what about my content?

idansx
tagDiv Member

I switched back to the old hosting and I could see it’s not working there as well.
I remember it worked fine but suddenly it stopped working. I have no idea why.

I tried to disable the plugins and disable cloudflare, it’s not caching issue.
All ajax functions stopped working.

idansx
tagDiv Member

Visual Composer released a new version (4.4)
Should I update to this version?

idansx
tagDiv Member

– The option is enabled
– Theme version is 4.6.1
– I disabled all of my plugins, no success.

Maybe it’s because of CloudFlare?

idansx
tagDiv Member

site link: http://www.viraldump.com

Currently it’s set to Popular (All time)
If I change it to Popular 7 days, nothing shown.

Viewing 16 posts - 1 through 16 (of 16 total)