- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Daniel,
If you paste a youtube link in your post wordpress uses oembed to embed the video. So if you do not use your video as a featured video but want to show it within the post you need to manually iframe the video and add the parameters yourself. If you want oembed to automatically embed youtube links you need to create a custom function in your functions.php. Here is my function for example:
function Oembed_youtube_no_title($html,$url,$args){
$url_string = parse_url($url, PHP_URL_QUERY);
parse_str($url_string, $id);
if (isset($id['v'])) {
return '<iframe width="100%" height="393" src="http://www.youtube.com/embed/'.$id['v'].'?rel=0&autohide=1&?wmode=opaque&iv_load_policy=3&showinfo=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>';
}
return $html;
}
add_filter('oembed_result','Oembed_youtube_no_title',10,3);
Just replace the ?rel=0&autohide=1& wmode=opaque&iv_load_policy=3&showinfo=0&vq=hd1080 part with your custom parameters and oembed will automatically embed youtube links that are pasted within a post. Reminder: you need to past the link via the WYSIWYG editor within your post WITHOUT a hyperlink. After pasting the link it will autmatically add a hyperlink, so be sure to remove it first. ALSO, you MIGHT need to update your posts (just open each video post and hit update) that already contain a youtube link for this function to take effect.
In fact, I want to propose a french interface administration to my collaborators.
For example, I would like to translate :
– Names of Widgets, options of widgets and descriptions of widgets
– The labels of forms to insert blocs or modules when I edit a content, and all the interfaces proposed to configure the blocs (slide, categories, etc.) via pop-ups.
– And finally, it would be great to be able to translate the theme panel
The english language is really a limit to work and manage the website.
Many items are listed in the default.po but I can’t use this file for the moment. Any solution?
Thank you for your help 🙂
PS: I have put a fr_FR.mo in a “languages” folder in “Newspaper”. Some translations work fine like names and descritpions of widgets but not others. I dont understand exactly the mecanism.
-
This reply was modified 12 years by
vertexpolygon.
I want to pass parameters when I embed Youtubes videos.
For example do I want embed this video with parameters that turns on englisg captions.
youtube…. /watch?v=L9O8j9QPZc8&hl=de &cc_lang_pref=en&cc=1
My problem is that it doesn’t work, when I use in this theme.
Any ideas? suggestions,
Thaaaaaaanks
Hi,
1. You can remove the menu only from code, edit header.php file and comment like here http://screencast.com/t/kyIO2VTz2OM
2. You can enable that from Theme panel -> Post settings http://screencast.com/t/9ceTSDyINn2k
Thanks for the message!
Hello,
Great theme, I really love it but am wondering about 2 things I can’t seem to figure out and are not included in the documentation.
1. How can we hide the main menu? There is an option in the admin panel for “No Menu” but when that option is chosen there’s still a menu with a persistent message saying “Click here for menu” (something like that). How can I get rid of this message and the main menu altogether?
2. In the live preview of Newspaper, there is a floating pop-up article once you scroll down to the bottom of the screen, how can we enable this? Is it a widget?
Thank you for all the hard work!
So I am trying to figure out a way to recreate a feature found on popular video sites like YouTube and DailyMotion. The feature is that the depending on the video player’s size the sidebar is either next to, or underneath the video.
I’ll use DailyMotion as my example: http://www.dailymotion.com/video/x1bthva_what-the-tech-ep-201-microsoft-fan-paul-2-11-14_tech
Here’s a video of what I am referring to: http://www.youtube.com/watch?v=ZHyQXmDI-LQ
If you look just below the bottom right, there is an icon to expand the player’s size to use the full width of the layout. As a result, the sidebar moves below the video.
Is there a way to create a layout similar to this? Where I have a video, some content below that, and a sidebar. Then when a button/link is clicked, the div for the video expands to full width of the layout, and the sidebar moves underneath it.
Hi,
Thanks @EmilAnton and yes we fixed the size ads that can be modified directly from panel.
Have a nice day!
The ‘Photon’ feature that Jetpack uses allows all featured images to fit in the correct dimensions on their own.
Example: http://thechive.files.wordpress.com/2014/02/this-mail-18.jpg?w=198&h=148&crop=1 – you are able to change the end numbers and they will adjust to that size
This will prevent everybody from having to manually adjust individual images for the featured image slider/post which I have noticed has been a hassle to many.
*I’m not using Jetpack because of speed issues and limiting of plugins*
It’s becoming a common user interface element to have a “tap to search” function, where when the magnifier icon (aka “search” icon) is tapped, a viewport specific box will appear either in place with wide screen, or as a modal type element for ease of use on mobile.
Many examples online, but for example you could see this with Google’s YouTube site when on, say, an iPad in portrait mode. The icon is there, box is not. Click icon, new box appears larger and to fit viewport/device for ease of use.
Similarly, a bold new site design by NBC News, http://www.nbcnews.com/
also uses this same approach.
“most” people don’t go to a news portal and “search” for content unless they’re doing a particular research task.
So, “new think” — more “above the fold” space for people “browsing” content or who have clicked in from external link (email, social, etc.) to read specific item. Then, for researchers, tap/click to search with either in place or modal type search box.
For those in the web design field by profession, you can also see this on UX/design sites like “.net magazine” http://www.creativebloq.com/net-magazine
Hundreds of other examples, but just examples.
Radu and co. have followed this concept for the Newspaper theme, where more horizontal space is given for the actual navigation topics and drop downs, with search a tap to click which doesn’t interfere with the main nav element (in theory).
Your needs may vary, but this is why/how Radu and co did it the way it’s now done. It’s not an isolated idea, but a trend which is proven useful for solving above the fold visibility issues on varied mobile devices for content and main navigation over an “always on” search box.
And, again, for those who need an “always on” high visibility search box, you can add the built-in search from WP to any widget area, unless I’m mistaken.
WP admin > appearance > widgets > search
Hope that made sense. 🙂
Just my thoughts on this topic, and it’s not intended to invalidate or argue against your particular needs. Just a comment as to my preference for having Radu work on the fixes to the core elements post migration to v3 framework, versus “changing” too many of the established design elements which are clearly shown in the demo.
-
This reply was modified 12 years by
simchris.
Hey is it possible to add a post, put it in a slider on the front page for example, and have that post open a hyperlink to (for example, facebook site when you click it) ?

Thanks in advice
Hi;
Page speed bad
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fkalitelihayat.com&tab=mobile
We have a problem with tagDiv speed booster plugin. When we activeted this plugin fonts and colors appear original type in the some computers and after seconds we have see our custom settings. When we tried to deactivete tagDiv plugin, Carousel gallery not working.
Finally we got this proglems after update. Can you check and fix our problems please.?Best Regards.
I have discovered that you guys took care of most of the issues I was facing in the 3.1 update ( I was still running 3.0.1 )
Amazing theme guys! Keep up the amazing work!
I have altered the php file to fit my needs & used this for custom Ads per device:
<div class=”td-visible-desktop”>
desktop ad code
</div>
<div class=”td-visible-tablet-l”>
tablet landscape ad code
</div>
<div class=”td-visible-tablet-tp”>
tablet portrait ad code
</div>
<div class=”td-visible-phone”>
phones ad code
</div>
Thank you for your reply Marius.
I have not yet updated to the recent version as I am waiting for all major issues to be resolved first. I do not have the wp-boost folder that you refereed to in your screenshot.
As it stands, I have a block 4 titled Legalization displaying the recent articles in the category legalization. When I hover over the block title and click, it links to the category page legalization.. I am trying to disable that link to category page. I don’t want the block 4 title to link to anything, I just want the title show without a link.
A example is in your demo: http://demo.tagdiv.com/newspaper/block-4-2/
When you click on the block title, it takes you to a different page. How do you disable that?
Thanks for your help!
I have found searching the forum this: http://screencast.com/t/2IcocCo2
and plan to edit it from there.
Question: Where do I add the Ad Code for each of these? because I want specific ad units for each size.
-
This reply was modified 12 years by
EmilAnton.
But if you use RESPONSIVE ads when you choose in your Google Adsense account it will sort it out. Thats what is so amazing with this theme
Hello Stefan, I want to show certain ads to specific devices.
On desktop I want the square 336×280 wrapped in text after the 1st paragraf. But if I add the code for it in the inline field I still end up with a banner ad.
Also, on mobile, the top banner ad is converted to a square ad. I just want to know where I can edit which ads are shown on which devices and in the sizes I want.
Thank you for your input either way.
I just choose Responsive ads when in Google Adsense. One code for all spots. Works perfect for me. Just remember to disable top ads on mobile 🙂
Dear Support,
I’m trying to ad a AdSense Ad to my header.
In the support video on how to do this it seems quite easy, but as i mentioned in my earlier question, It’s done in the new/other lay-out of the theme customizer control panel of newspaper.
When i go to wordpress dashboard>>appearence>>theme customizer>>Newspaper Ads>>
And then paste my adsense code into the ‘top ad spot code’ with out chanceing any of the already default filled in options. A White space appears in my header without the Ad itself.
What am i doing wrong?
Why can i only choose ‘text ad spot’ at ‘top ad spot’?
what does show ad after certain paragraohs mean?
what does ‘inline’ ad spot mean?
I’ve also tried to input my ad at the Theme options>> Ads’ & ‘Google Asense’.
What should i input into the Desktop(1200px+) window?
And should i pick Synchronous or Asynchronous? (at google adsense i chose Asynchronous)
Hope you guys can help me..
Thanks in advance,
Shanon
Hello,
I have set an Inline ad square (336×280) and on laptop/desktop it is showing a banner ad.
Also the ad had certain styles added from adsense, on mobile it’s showing google’s default one.
In the main panel I can not customize which AD Units are shown on which devices. How to I fix this? Thanks Marius!
Also here greece.greekreporter.com single stories do not appear (the content). for example try to load this http://greece.greekreporter.com/2014/02/13/greek-touches-on-st-valentines-day/
Very weird…
I am running wp multisite and have been checking the site on IE 8.0.
Thank you!
How can I remove category name and date from the slider(“Slide”)? In this example –> http://www.screencast.com/t/PBMopmNZ <– I would like to remove “Film” and “jan 22, 2014” (and only show the post title). Thanks!
Hi Marius,
Thanks, but now on the desktop browser the images are no more 500 px wide, they are to small. When I resize the window the images would be 500px wide.
For example: http://www.alphamann.net/zu-viel-getrunken-30-fotos/
Here is the css code I have installed:
.single .gallery img {
width: 500px !important;
height: auto;
}
.gallery-number {
position: absolute;
left: 0;
top: 0;
background: #ff6a62;
padding: 0 10px;
}
.gallery-item {
margin-top: 0 !important;
margin-bottom: 22px !important;
}
@media (max-width: 767px) {
.gallery-item {
width: auto !important;
}
}
Could you please check this again? Thank you very much!
hi,
please take a look at the example in pour demo, there is working.
Thanks for you message.
Radu A.
Hello
I would like to know why i don’t see any images when i download the tagdiv demo. Because i need the example to figure out how i can use one thumbnail to show several pictures. Like like example page from:
http://themeforest.net/item/newspaper/full_screen_preview/5489609