Search Results for 'amp'

Results from the Forum
MissMyra
Participant
#0

Hello,

I’ve just installed the ‘forum’ on my website. I wonder if I can make categories myself. So f.e. I would like to set 10 categories and in those categories, my customers can ask their question.

Once someone asked a question on the forum, how can I set up that I have to approve the comments & questions, before they go live?

And a total other question, what’s the default font of the newspaper template?

Thank you very very much!

Best, Myra

Alin [tagDiv]
tagDiv Staff

Hi,

Please try to add also this to the above code – http://screencast.com/t/caXaQ9E7Xgcu

function foo_modify_query_order( $query ) {
    if ( $query->is_category() || $query->is_tag() && $query->is_main_query() ) {
        $query->set( 'orderby', 'title' );
        $query->set( 'order', 'DESC' );
    }
}
add_action( 'pre_get_posts', 'foo_modify_query_order' );

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

You can use the patch files to update your theme, but only if you have used the previous version of the theme. For example if you use 1.7 version you can update to 1.7.1 using patch files(there are files that were modified in version 1.7.1 – fixes, new files, theme’s plugins new versions…).

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

I’m not sure what you mean. Do you want to show header ad only for category pages?
You can add a condition there to display the header ad only on category pages(also depends what header style you use), so for example if you use header style 3 – http://screencast.com/t/4PX2ZOnf2hr1
Or if you want to display a custom ad on category page(besides header ad) – http://screencast.com/t/KS3qdwzeEj9
Result: http://screencast.com/t/GnipCsVG

.td-a-rec-id-custom_ad_1 {
margin-top: 20px;
}

Please provide more details if this is not what you mean.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Unfortunately there isn’t an ideal image size(aspect ratio) so it can look good on all thumbs, also depends which blocks/modules that you use and you have to do some tests and see what aspect ratio to use. The images are cropped for different sizes to be used on modules – http://screencast.com/t/Uor66sP8FL0 if you want to change that. Also this may help – http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
As you can see also on your site many images are cropped and they are looking fine – http://screencast.com/t/3bBmbeYgxJ so you have to find a size for your images that will look fine on modules that you want to use.

Thanks!

Riskdiver
tagDiv Member

Hello Lucian! Thanks for such a quick reply. I must have been blind, missed the author’s template. Template is almost perfect. Sorry if it is a hassle for you but could you give me a little hint how to link my to the current author’s page? Do you use get_the_author function?

This is my current modified Logout section. Just need making one of the icons linking to the author’s page. Right now both of the icons linking to the pages made by me.

//<span class="td-sp-ico-logout"></span> echo '<ul class="top-header-menu td_ul_logout"> <li class="menu-item">' .'' . '<li class="menu-item">' . '

And regarding my second question. I’m not gonna be using side panel in my little project, so no worries. However, I have made a little video so you can see what it was all about. https://www.youtube.com/watch?v=t3kNb7HF-z4&feature=youtu.be

Thank you for your help and support.

  • This reply was modified 11 years by Riskdiver.
  • This reply was modified 11 years by Riskdiver.
  • This reply was modified 11 years by Riskdiver.
  • This reply was modified 11 years by Riskdiver.
gmtrevor
Participant
#0

Hello i am hoping someone can help me.

I am looking to have the top header add block separated from the main body of the website so that it sits on top of the background.

for example if you visit my website policehour.co.uk this currently sits on a white background, i am looking for that section of the website to be transparent, an example of what i am looking for can be found at http://www.hartlepooltoday.co.uk.

I am also looking to stretch the header section across the full page for example as seen at http://www.news.sky.com, but for the content to remain in the same place.

OverPress
tagDiv Member

When I tried putting id=”skin” on single_template_4 makes clickable any article.

Look here -> http://overpress.it/2015/05/25/la-roma-vince-il-derby-e-vola-in-champions/?preview=true&preview_id=173460&preview_nonce=1d1cd340d4&post_format=standard

Why?

This is the single_template_4 amended (Line 9) -> https://dl.dropboxusercontent.com/u/22334399/single_template_4.php

simchris
tagDiv Member

You can modify how images are “cropped” — but you will need to “hack” some settings; there is no consistent way to ensure all images are “cropped perfectly” as all are different — as are all photos. So, some might get top chopped off, some might get bottom chopped off. To have images be “perfect” for all shapes and sizes of thumbs you would likely need to create your original images very carefully to have appropriate spacing on all sides so you end up with a “safe area.”

For example you could edit the functions file in the tagdiv booster folder to change the default crop direction for a specific thumbnail size following the settings for WordPress, as found in the official docs … e.g., you could have “crop from top, left” or “crop from bottom, right” .. etc.

SEE:
https://codex.wordpress.org/Function_Reference/add_image_size

TagDiv can point you at the right file to edit in the theme folder, to experiment with.

Block settings are not included with the Newspaper theme; nor advertised to have them, nor shown in the demo; but will be supposedly coming in Newspaper v5. Obviously you can’t somehow “add” that admin panel from another theme to this one — doesn’t work that way. However, that feature most likely will be in Newspaper 5 coming next month (hopefully). Remember theme docs for Newsmag do *not* apply to Newspaper — two different themes!

apolitikal
Participant
#0

When pasting a youtube video link it does not show the video, it only shows the link.
It used to work previously and the theme is updated with the latest version.

Here is a post example from my site: http://apolitik.al/mbrojtesi-i-ekranit-per-iphone-me-buton-per-tu-kthyer-mbrapa/

Also logging in takes a very long time.

simchris
tagDiv Member

Also be aware there is no way to prevent people copying your content if it loads in a web browser; you can try to block some content being “scraped” — but this also means not having RSS feeds, and if Google can’t read the page, you will be doomed in SERPS. So, you obviously would want to “test” any such plugin and then in Google’s developer tools do the various “load as Google” to see HOW the bot sees your page — if Google can read it you should be fine; of course if Google’s bot can read the page so can others.

How extreme do you want to be ? Are you going to block archive.org ?

For many folks, having strong copyright notices, creative commons logo, and doing periodic searches online can help track down content pirates. There is nothing to stop somebody from rewriting your content, though. If you properly copyright your website (e.g., in the U.S. with the copyright office), you can file a DMCA complaint to have some pirates content removed from Google search results, which is huge deterrent obviously.

And of course, the biggest way to protect content is from a member site where people have to “log in” to view the story; perhaps having teaser for public, and members see the full site.

The ability to “protect” content is a bit of a myth. Disabling right-click doesn’t actually solve anything. For example, SnagIt can capture the full page as an image once it’s in the video buffer in the browser/on screen; Adobe Acrobat DC can capture an entire web page.

Not to scare you, just the facts after 20 years of doing web dev myself. Our company used to actually sell a content protection product called “Mindset Mprotect” for protecting images; and then IE added as “save page as HTML” feature which completely negated some of that. Remember again anything “rendered” in a web browser can be captured as it’s loaded into cache and/or “visible” on a remote device.

Rendering a page in FLASH has some protections, but then you lose most mobile users.

Upshot — be realistic in your goals on the “myth of content protection” with WordPress.

Lucian
tagDiv Staff

Hi,

Thanks!

1. Not really sure what you need as based on what I’ve understood from your description this filter by author/user is already available in theme’s block settings: http://screencast.com/t/Tm2djE9dHgv and the author page filter just the post’s from that author, for example take this author page from our demo: http://demo.tagdiv.com/newsmag/author/marius/

2. Could you please also provide a link to your site where we can inspect this issue.

Thanks

WakeUpCallProject
tagDiv Member

How can I completely remove the entire comments section?

I don’t want even want to see “comments closed” or “no comments”.
The entire section removed.

Like this site for example:
http://www.hangthebankers.com/six-banks-fined-market-rigging/

If you scroll to the bottom there is no comments section or mention of comments.

mike
tagDiv Member

yes if i make it like this it works.. however in the past i have used both featured image and first image in the post and so when i enable feature images in posts more than 1000 articles shpw two images at the beggining and this does not look good.

I really want to be able to use post style 5 and 4 so i am wondering if there is any workaround.

For example if feature image would only work for post style 5 and post style 4 that would solve all my problems.

Is this possible or do u have a solution to my problem ???

thank u !! 😀

bfrye26
tagDiv Member

It took me a little while to get everything working, So I thought I would ensure listed the final code incase anyone was running into the same issues.

The final code to ensure it displays everywhere is:

add_filter('pre_get_posts', 'query_post_type');
function query_post_type($query) {
if((is_category() || is_tag() ||  is_author()) &amp;&amp; empty( $query->query_vars['suppress_filters'])) {
$post_type = get_query_var('post_type');
if($post_type)
$post_type = $post_type;
else
$post_type = array('post','cpt'); // replace cpt to your custom post type
$query->set('post_type',$post_type);
return $query;
}
}
  • This reply was modified 11 years by bfrye26.
VAtheist
tagDiv Member

Yes, i refreshed the menu font to now appear correct. I too use firebug and whats weird is when I see the wrong font family being displayed on screen, it shows the correct font name in firebug.

As an example of this issue, you pointed to the title font being currently set to roboto condensed, however if you look at the pages, its not loading. roboto condensed is a san-serif font, and yet everywhere on my site the title font is serif.

  • This reply was modified 11 years by VAtheist.
VAtheist
Participant
#0

Hi,
when I keep editing font in Custom Typography in the Theme Panel, I find that fonts I didnt manually change are being effected. If I change some characterisitc of one font, some other font gets reset to something different. Most noticably the Menu font changes from Titillium Web to what looks like some kind of serif font (even though the settings in the custom typography menu still read titillium web.

This seems to be a bug. Any solution besides writing out custom css for each font? Looks like I cant adjust anything in the Custom Typography section without risking the styling of some other font within my site.

Here is my site as an example. On the main page, the little thumbnail pictures’ titles have the wrong font

http://test.theveganatheist.com/

Alin [tagDiv]
tagDiv Staff

Hi,

This issue will be fixed in version 5 of the theme, sorry for inconvenience!
Please send me an example with this, a screenshot would be helpful(from backed where it appears customize), also please provide your site’s URL and point me where you use this button so I can inspect this and try to provide a css solution.

Thanks!

christinascotti
Participant
#0

Hi!

I’d like to add custom css to create white space between the paragraphs in posts. Is this possible and what would be an example code for it?

Myles
Participant
#0

The right side bar in all posts will not display. All the other layouts work fine but except the sidebar on the right hand side. For some reason it displays at the bottom of the post.

Please help.

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,


@tobiasg
Unfortunately the aspect ratio of your image create this issue, as there is not an ideal image size so it can look good on all thumbs, you will need to make some tests and see which image aspect ratio to use of course depending on the blocks/modules that you use. If you want to change thumbnails sizes – http://screencast.com/t/gjw1fcCncI
You can find out more about cropping here – http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/https://codex.wordpress.org/Function_Reference/add_image_size

Hope this helps!

prayaspatel03
Participant
#0

hi,
my website link is -http://www.mytechblizz.com/

I have many problems
1) Installed demo on my site but i dont know where can i edit “Don’t Miss”, ” Fashion and Trends”, ” Travel Guide”, “Tech and Gadgets” etc.

2)My home page has many repetitive post i dont know how can i manage it so that my page shows every unique post.

3) Like in demo version how do i get these menus,
on the top left side- Demo Stakes,Default,Classic blog, Fashion, Sports etc.
4) how can active slider for my posts so that my post automatically change each 10 secs or whatever time i set.
Foe example, in ur demo verson, in ur homepage 1st for posts automatically change

David
tagDiv Member

Hi Emil, thanks for your reply!
I have two examples. First one is this article: http://starzip.de/dagi-bee-hat-extensions
The Keyword here is “dagi bee extensions”. When you google it via Google.de, you will find on the first page 3 results of our page. https://www.dropbox.com/s/h6rt83hqh0sdyvk/Dagi%20Bee%20Extensions.JPG?dl=0
First one the article, the second two are pictures in the article. Here Google takes what it can get. Expecially this article heading “Prank: Frau klebt Freund nackt am Stuhl fest”. I have seen this heading so many times as a snippet preview. But a bad example, for pictures I can understand Google, there is not much text to find.
Example two:The article we are looking for is: http://starzip.de/paola-maria-traegt-jetzt-ein-sascha-tattoo
When you Google “Paola Maria Tattoo”, you can find the following on Google page 2: https://www.dropbox.com/s/ekq8yfuyuax65p6/Paola%20Maria%20Tatoo%203.JPG?dl=0
Result 1 shows the title of the article “paola-maria-traegt-jetzt-ein-sascha-tattoo”
Result 2 shows the title of the article “paola…” + the whole meta description of the “paola…” article. Cool – but both results are completely different articles!!! And the reason why google has the wrong stuff are in my opinion the related articles. When we look at them, we can see that both articles appearing in the search result have the article”paola..” as related article showing. See here: https://www.dropbox.com/s/etsh1ai9mxhd1wp/Paola%20Maria%20Tatoo%202.JPG?dl=0
and https://www.dropbox.com/s/b8awrrtagzga60s/Paola%20Maria%20Tatoo.JPG?dl=0
Thanks,
Loano

Alin [tagDiv]
tagDiv Staff

Hi,

I’m not sure if this is what you mean, but you can add your website here – http://screencast.com/t/TDJKbgzxdGeM
Result – http://screencast.com/t/wCdzTGoLT
If this is not what you mean please provide an example.

Thanks!

Viewing 25 results - 36,251 through 36,275 (of 38,683 total)