Search Results for 'amp'

Results from the Forum
tonymontgomery_52
tagDiv Member

I’m not using wp super cache or seo by yoast. This is also a clean install. I’m running it on a MAMP server. Could this cause issues?

Horticulture
tagDiv Member

Hi there

I also want to add more custom ad spots to my site in the td_config.php file, and have added the code in two places as suggested in both these screen shots. https://www.screencast.com/t/qW11XA2B & http://www.screencast.com/t/drqt26uCI but it’s breaking the site completely. what am I doing wrong?

I have no idea what I am doing wrong, I have tried it a few times and keeps breaking the site.
– – –
this is what I have added
td_api_ad::add(‘custom_ad_6’,
array(
‘text’ => ‘Custom ad 6’,
‘ad_type’ => ‘ajax’,
‘fields’ => array(
‘ad_field_title’ => false,
‘ad_field_position_content’ => false,
‘ad_field_after_paragraph’ => false,
),
)
);

& this code last line of code to register the spot
‘custom_ad_5’ => ‘custom_ad_5’,
‘custom_ad_6’ => ‘custom_ad_6’
),

What am I doing wrong?

Simion C.
tagDiv Staff

Hi,

Please provide some examples of this problem, so we can understand better. Some useful screenshots would be helpful, if possible.

Thanks

Bogdan B.
tagDiv Staff

Hello,

That is not amp, That is jetpack.
Please disable the mobile theme of jetpack and it should be all fine.

Thank you!

bucknasty45
tagDiv Member

From what I’m reading it looks like I might just have to wait 24 hours for google to recrawl the site and clear their AMP cache.

Aminul Islam
Participant
#0

Hello,

The Mobile theme plugin doesn’t compatible with the multisite installation of WordPress. But here is a 3 lines code to make Mobile Theme Plugin fully compatible with WordPress multisite installation.


if (is_multisite()) {
$main_dir_path = $main_theme->theme_root . '/themes' . get_template_directory();
}

Copy above code and open the wp-content/plugins/td-mobile-plugin/td_mobile_theme.php file in your editor, the find 196 number line and paste the right after this “$main_dir_path = $main_theme->get_template_directory();” line.

Here is an example: http://i.imgur.com/ITO0P1a.png

I shared this code because TagDiv doesn’t concerned about the multisite feature I think. I hope this code will save your day 😀

bucknasty45
Participant
#0

I was playing around with two AMP plugins AMP by Automatic and
AMP for WP

I seem to have destroyed the mobile version of the theme by installing them, it’s stuck on AMP and won’t revert by uninstalling them. Deleted all caches and saved permalinks.

Is there anyway of reverting the changes without resorting to a backup? Thanks.

Here’s what the mobile theme is stuck likeAMP site

https://www.singularityarchive.com

Bogdan B.
tagDiv Staff

Hello,

1) For custom css please use the theme panel-> custom code section https://www.screencast.com/t/9FYBuFG1YNs
If you say that using style.css has little to no effect it means your code is not proper and will not apply. Please use the browser inspector and cahck to see if your code applies to the specific element or there is another more powerful selector than yours taking over.

2)Each of the examples you mention are affected by the theme accent color in the theme panel: https://www.screencast.com/t/NvGdVkg2s6

Thanks.

Simion C.
tagDiv Staff

Hi,

If that is what you want, you could try a code like this one for example, it will change the the block-quote paragraph to capitalized (or how you want it to display)
– https://www.screencast.com/t/ee6FFq13eT
Or maybe normal text
– https://www.screencast.com/t/Rc9cpScMoYuv

The code must be entered in Theme panel->Mobile theme->Custom CSS in order to be applied only on mobile, when using the mobile theme plugin

.td-post-content blockquote p {
text-transform: none;
}

Please correct me if I misunderstand what you wanted.

Thanks

Simion C.
tagDiv Staff

Hi,

I believe that the white color is coming from the general theme accent color. Please check in the theme panel and see if maybe you have set a white theme accent color
– https://www.screencast.com/t/qIINfOhxzc
Change it to default or a different color, if that is the case.
If you want the single images to be more responsive you could try inserting them in a text element, and check the results. It should better results in this case. Like this example
– https://www.screencast.com/t/Ry8M6t9E

Thanks

Catalin
tagDiv Staff

Hello Scumbag,

If you want to change the style for your all block titles, notice that you can use a bit of CSS code to do this. For example, try the code below and place it in Theme panel -> Custom CSS area and check the results.

The code is ->

.block-title span{
background-color:red!important;
color:black;
}

Regarding on mobile main menu, notice that it cannot be different than the main menu on the desktop, sorry! If you want to add some links only for the mobile menu, you should implement it yourself through the code because the theme does not have any such an option that allows you to do this, sorry!

Thanks for the message!

sachinjain007
Participant
#0

Hi

How can I change the font style and size property of specific post and reduce the margin between two lines?
Is there is any built in function in this theme?
if not then is it possible to achieve this with the code? Sample code must be appreciated.

Thanks

ascendo0875
Participant
#0

hi when i try to save a change in td composer, the save button changes to the animated circle. my change never gets saved. please advise.

this is for: https://actingresourceguru.com/interstellar/?option=com_wordpress&Itemid=178

yano
tagDiv Member

Hi Catalin, thanks for your reply.
I see. I’m kinda struggling with the customization. Is it possible to add a shortcode inside the block’s elements. For example, The block is showing 5 posts, can I add a shortcode that is shown below every post? as the following:
-Post 1
shortcode social share
-post 2
shortcode social share
-post 3
shortcode social share
…

I’m sorry, first time using another’s theme, I have some experience developing my own -not so complex- WP themes…I mention this just to let you know that maybe I could understand your explanation for doing this 🙂

ascendo0875
Participant
#0

Hi,

how do i change the assigned category of a block in the home page via TD composer?

when editing a column, i only see the ability to filter a category. How do i assign one to begin with?

https://actingresourceguru.com/interstellar/?option=com_wordpress&Itemid=178

knudoboy
tagDiv Member

Oh now I made an example. I typed the tag for blockquote, and there you see how ugly it looks. Tag disappeared of course. This is HTML on screen and a fool 25 inches in front of it!
I want to know how to make it centered and just black. I can change the uppercase to normal in the themes panel.

skatkala
tagDiv Member

Thanks for your response
I am using text editor mode ! and after trail and eror i got to know, after the ad , the video is frezing , with popup blocker vidoe is runing smothly ! any solutions,
for refernce i have paste iframe code ..

<iframe style=”overflow: hidden; width: 640px; height: 400px;” src=”https://play.syndicaster.tv/v1/widgets/9854f050-9b9c-0133-8f54-7a163e5e80da/playlist.html?pl_length=&plid=34919&vid=&#8221; width=”600″ height=”450″ frameborder=”0″ marginheight=”0″ scrolling=”no” allowfullscreen=”allowfullscreen”></iframe>

dnf67
Participant
#0

I have not joined AdSense and hope to sell my own ads. I am in the process of setting up a sample site to show prospective advertisers before creating the live site (importing from another older format). This looks awesome for using AdSense, but can I set this up to manage my own ads and assign positions and so on? I cannot find where to do that. When I created a sidebar ad (for example) it placed that one sidebar ad 3 times on the imported theme page. I, of course, want to show a multiple of different ads and even create some other ads sizes. Do you have a tutorial to teach this? Or?

Thank you in advance

simchris
tagDiv Member

Newsmag is ‘responsive’ so what we do is use the normal responsive design for mobile, and also the Automattic AMP plugin for mobile stuff where supported. This made most sense vs having a separate mobile plugin — but that’s me. 🙂

Scumbag
Participant
#0

Hello, I own http://scumbagged.com and am curious as to how I can change all of the block titles. I don’t know where to go to do that. Some of my block titles say “Fashion Week” and “Gadget World” – clearly I need those to reflect my appropriate sections.

Regarding the mobile menu, I would like to be able to add additional links just for the mobile viewers. How can I do a separate mobile menu than a desktop menu?

Thank you for your help!

12familyde
Participant
#0

Hi there Tagdiv-Team,

as the new tagdiv Composer now is an officially part of the Newsmag Theme, there are some questions left for me.
As I cannot see an option to use it for posts, it does not seem to be meant for it. Is this planned in future?

Second question: The raw html feature does not include the possibility to insert javascript and php inserts – is that correct?

Third question: if there is no support for posts and articles planned – why is it recommended to just use one of the pagebuilding plugins? There are SOOO many posts – in which I have used parts of the visual composer – for example to insert video codes including ads (javascript) – or for example colurful news-boxes. All these features would be lost, if I simply uninstall the visual composer.

I have built a serious magazine within the last few years. With nearly 3500 posts and pages – some of them are kinda heavy work to edit …

So – lets face it: As of the implemetation of the tagdiv Composer – I should use it – and uninstall the visual composer. To still get things running as they are right now – I would – kinda sure need some extra plugins, which are (very sure) not supported by the theme. What would you think – if you would be a longterm customer of your themes? It sounds like a nightmare of extra-work … 🙁

Best and warmest regards
Torsten

JammiDiscoPikey
tagDiv Member

The code has been entered correctly. The theme is not rendering it properly.

An example of the code would be as follows:

<!– Ezoic – Very Top Above Menu – top_of_page –>
<div id=”ezoic-pub-ad-placeholder-131″><script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– Header Logo –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-xxxxxxxxxxxxxxxx”
data-ad-slot=”xxxxxxxxxx”
data-ad-format=”auto”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
<!– End Ezoic – Very Top Above Menu – top_of_page –>

Simion C.
tagDiv Staff

Hi,

The ad sections from the theme panel will display Adsense ads. I could not say what other code you are entering besides it, and why it is not displaying. Maybe you are not entering it properly, if you could provide some examples of this code it would be helpful.

Thanks

Simion C.
tagDiv Staff

Hi,

You will have to create a starting point to personalize the website. For example from the top and work your way down.
The logo, header style, top menu and main menu can be changed with your own in the header
– https://www.screencast.com/t/XmmhcrOuH
– https://forum.tagdiv.com/header-styles/
– https://forum.tagdiv.com/logo-favicon/
– https://forum.tagdiv.com/top-bar-templates/
– https://forum.tagdiv.com/main-menu/
This is a tutorial for the tagDiv composer that you will use to create and customize pages
– https://forum.tagdiv.com/tagdiv-composer-tutorial/
Make the changes you want in the header and then the homepage is next. Opening the homepage with the tagDiv composer will allow you to add/remove elements, modify block titles, block filtering system, post sorting etc
– https://forum.tagdiv.com/block-settings-guide/
In the footer section as well you can modify all aspects
– https://www.screencast.com/t/PZdGWroQUdO
– https://forum.tagdiv.com/footer-templates/
Hopefully this will provide you some useful information. When you have more questions or you are stuck, you can always create a topic on the forum and ask, or describe the problem. We will try our best to help you as soon as possible.
Here you can find all the theme documentation
– https://forum.tagdiv.com/newspaper-theme-documentation/

Thanks

Bogdan B.
tagDiv Staff

Hello,

1) Sorry but this is not possible in our theme to place articles between the posts on a category page. The theme does not have such functionality. It can only be done with a plugin (i can’t recommend one as we have not officially tested any ad plugins) with custom code modification which we cannot provide.

2) Please also add this code to remove the small arrow:
.td_ajax_load_more .td-icon-menu-down{
display:none!important;
}

4)Please provide an example of exactly what read more button are you referring to so I can figure out a solution.

Thanks.

Viewing 25 results - 28,051 through 28,075 (of 38,683 total)