- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
Hi there,
Some people have requested that they wanted my site to be more like a blog (with all the content in one long page). I now that there is templates to make that happen, but I like my site as it is. ( http://www.theinspiration.com ) However I would like to fulfill the request.
Is it possible to call it via the URL:
Something like this…
http://www.theinspiration.com&template=blog ??
Thanks for the replies!
I won’t use the show featured video/image on post function so will embed the videos manually, which raises another problem. I add a lot of parameters to youtube embed codes (as mentioned in my first post) to hide annotations and related videos and other stuff. Now here’s the problem: I have a lot of bloggers and I want to make it as simple as possible for them to embed video’s. The easiest way is to let them just paste the link in the post and let the WordPress oEmbed function insert the HTML embedded iframe. However, oEmbed does not add those parameters to the embed code, it just inserts a regular embed code that looks like this:
<iframe width="100%" height="394" src="http://www.youtube.com/embed/-McFIAlP0Ow?feature=oembed" frameborder="0" allowfullscreen="" style="height: 420px;"></iframe>
Can someone tell me what code I need to add to the WordPress oEmbed function (wp-includes/class-oembed.php) so it will result in this HTML output:
<iframe width="100%" height="394" src="http://www.youtube.com/embed/-McFIAlP0Ow?feature=oembed?rel=0&?wmode=transparent&iv_load_policy=3&showinfo=0&vq=hd1080" frameborder="0" allowfullscreen="" style="height: 420px;"></iframe>
perfect. It’s ok.
another question.
And if i want choice only category ?
Example. In big slide i want see only category ‘0’.
Merry Christmas to you both too!
I know how to embed videos the regular way, i’m not a total noob 😉 I managed to edit the embed code that is used when showing it as featured video, so that it will start in HD and won’t show annotations and related video’s at the end.
If someone is interested, here’s the code.
Replace line 157 in includes/class/td_video_support.php with this:
<iframe width="600" height="560" src="http://www.youtube.com/embed/' . $this->getYoutubeId($videoUrl) . '?rel=0&?wmode=transparent&iv_load_policy=3&vq=hd1080' . $this->getYoutubeTimeParam($videoUrl) . '" frameborder="0" allowfullscreen=""></iframe> The code’?rel=0&?wmode=transparent&iv_load_policy=3&vq=hd1080′ is the part that does the trick, so the rest of the code will not be edited.
Marius, i’ve already noticed that it will automatically put the normal youtube link in an iframe and that the embed code provided by youtube will also automatically be put in a different iframe. These iframes will force the video to be shown in a 100% width and style=”height:420px”. The featured video comes with a 600 width and 560 height (as can be seen in the code i mentioned above), the embedded video comes with a 600 width and 394 height. However, these heights are forced to 420px because of the style code. Now here’s my question: I don’t know why, but on my other site the embedded video’s will hide the buttom pause/play and options, as can be seen here:
http://www.mannenhumor.com/magazine/stunten-op-een-wielrenfiets.
On the my new site using the Newspaper theme, these functions on the bottom stay visible when the video is playing. I don’t know why, but i think it might have to do something with the height. I tried to find differences in the embed code using the debug tool, but i can’t find them. So how can i edit the height of the iframe that is used by your theme? I can’t seem to find where this style height is set… Is it a css file somewhere? I feel a bit stupid for asking.
Now here’s another question. The iframes forced by the theme don’t use the code as i mentioned above. Where can i find this piece of coding, i would like to add ‘?rel=0&?wmode=transparent&iv_load_policy=3&vq=hd1080’ to it so my bloggers can simply put the youtube link in a post without having to put this code behind every youtube video manually.
As for the fb and disqus comment system, i’ve managed to use it on my other sites. Those use the Avada theme, which is a REALLY slow theme regardless of the double comment system, so i don’t know if it will cause a decrease in page speed. I do know a site that uses them both and their page loads quick enough if you as me. See for yourself here (don’t mind the content, it’s a Dutch site): http://www.vkmag.com/magazine/kind_krijgt_stofzuiger_als_kerstcadeau
-
This reply was modified 12 years by
r1kay.
You can place videos anywhere in your post, as this is a normally supported function of WordPress via oembed. You only have to place video on top if doing “featured video” which is useful when you don’t have a photo (really only reason to do that, or if you had something like a music video gallery).
Always good idea to check all the wonderful tutorials provided by WordPress on how to use WP, such as how to insert videos:
how-to embed videos on ANY WordPress site regardless of theme:
http://codex.wordpress.org/Embeds#In_A_Nutshell
basically all you do is in your post do
check out this cool video
http://youtu.be/videoID
here is example of how we do this on our site
http://ga-ga.com/1245/stone-solid-hooks-reflections-da-blooze/
so, upshot you only “have to” have video on top when you choose the featured video template; otherwise just do normal post, and drop in your videos anywhere you want in text.
Here is an example where we put two videos at bottom of article:
http://ga-ga.com/1125/musical-high-verheyen-studio-great-carl-verheyen-consistently-wows-crowds/
Hope that helped. 🙂
As to using both DisQus *and* the FB comment box; I would *not* advise that since Disqus can support login via Facebook, you will need to likely avoid that option, otherwise you might get two “call backs” to FB and this will kill your site loading time and PageSpeed, if you care about that. It it works, would love to see it! 🙂
I installed the Newspaper template…what I have been looking for along time. I am having a problem with the Page Gallery now that I uploaded the template. Before I had Thumb Nails you could see everything I had set at 150 x 200…now half the photos are cut off. So I tried a Gallery Photos and its the same even after reuploading photos.
http://theentertainmentworld.com/noh8-campaign-5th-anniversary-celebration/
hey guys! my site is not doing good in speed!! I don’t knw why? but can anyone help me? thanks. my site is: http://www.techierevive.com
check out the spped: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Ftechierevive.com&tab=desktop
Hello,
Should work, I’ve tested and for me works fine, i can replicate the bug. Can you provide us access to your WP to take a look? Send at contact@tagdiv.com
Thanks
I for example, have a category called ‘NFL Picks’. Where do I find the cat ID? Would I just put -NFL Picks or is there another ID for the category other than the title?
Thanks,
Justin
-
This reply was modified 12 years by
costahilbert.
Yes. I have the ‘Loop’ set like this http://screencast.com/t/iWEVFLFj
However, it still has more than 6. currently it is hosting 9, sometimes it is 8.
Is there a fix for this?
Thanks for the help.
Justin
Hi I have 87/100 and I get these recommendations:
Suggestions Summary
Consider Fixing:
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 2 blocking script resources and 9 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Remove render-blocking JavaScript:
http://smashinbeauty.com/…-includes/js/jquery/jquery.js?ver=1.10.2
http://smashinbeauty.com/…s/jquery/jquery-migrate.min.js?ver=1.2.1
Optimize CSS Delivery of the following:
http://fonts.googleapis.com/…ietnamese%2Clatin-ext%2Ccyrillic&ver=3.8
http://fonts.googleapis.com/…t%2Cgreek%2Clatin-ext%2Ccyrillic&ver=3.8
http://fonts.googleapis.com/…illic-ext%2Clatin-ext%2Ccyrillic&ver=3.8
http://fonts.googleapis.com/…0%2C700&subset=latin%2Clatin-ext&ver=3.8
http://fonts.googleapis.com/…ietnamese%2Clatin-ext%2Ccyrillic&ver=3.8
http://smashinbeauty.com/…aper/external/td-bootstrap.css?ver=1.7.1
http://smashinbeauty.com/…ent/themes/Newspaper/style.css?ver=1.7.1
http://smashinbeauty.com/…k/modules/sharedaddy/sharing.css?ver=2.7
http://widgets.digg.com/css/buttons3.css
any help or?
Hi Marius,
Thank you very much!
The symbols look much better now. 🙂
And the style code works fine too.
Kind regards,
Barbara
Hello,
1. Replace with this http://www.tagdiv.com/theme/users/elements.zip
2. A simple option is to write the menu with UPPERCASE tagdiv.com/theme/users/elements.zip or if you want automatic add this in style.css
.sf-menu li a {
text-transform: uppercase;
}
3. Is not possible, sorry about that, only what you can do is to make a backup of the database.
Thanks for your message
Hello,
1. There is the title of the big slider, edit the big slider and choose hide title.
2. You have set on the homepage loop filter like here: http://screencast.com/t/iWEVFLFj
Thanks for your message
Hello again,
First off, there is a black splotch just above(on the left hand side) the big slide on my static front page. There should be some title there I believe, like the title block that is over the ‘Latest articles’. It looks bad and creates extra white space between the slider and header. How do I remove this? You can view it at http://www.betheline.com if you don’t know exactly what I am speaking of.
Secondly, using the home page template for BG w/ latest articles, the page shows what ever amount of articles it wants. I set the ‘Loop’ at 6 and it shows 8 sometimes 9. When I had it set at 4, it would do the same … show a willy-nilly amount of articles. I would like my front page to have just 6 ‘latest articles under the carousel. Then people can click through the back log if they wish. Is there a fix for this, maybe a code I can replace?
I appreciate the help.
Regards,
Hello,
I have changed my header color: now I have a dark header and a dark menu, but I can’t see the symbols like home, search, etc.
I found the elements.png and elements@2x.png files on the images/sprite folder, but when I try to change it to a white color using photoshop I have a terrible icon. Is there any possibility that you can send me these files in a white/clear version? Or is there another place to set up these symbols’ colors?
Question number 2:
Is it possible to have a uppercase menu? How?
I just found the option upper or lower case title to slide posts.
But I would love to have an upper menu…
Question number 3:
It’s more a suggestion than a question… I would like to save my settings and export them (maybe in a .txt file so I won’t have to change everything again if I had to reinstall the theme).
That’s all for now.
Thanks a lot.
Regards,
Barbara
Hello,
After “a” http://screencast.com/t/YQmyejMmkO
For author page the same after a in this file: http://screencast.com/t/5c17MSi6Ip
Hello,
I replicate the bug. For the first time work, but if i try again, the text behind become blank. I will mark this as a bug for an investigation.
Thanks
I made a quick video of the issue. I’m using Chrome as my browser.
Hi, tonight my site has been “crashed” without any reason. All of the Magazinly Theme settings just gone – everything else is ok, just the magazinly theme settings were gone… (strange!?) I had to fix all the settings again to work properly.
So the Responsive Adsense settings were gone too, and since this I can’t add responsive google adsense modul at the pages – exactly I can add the “AD BOX” modul, but at the drop down list it doesn’t show Adsense, it shows only the “different ads”. But for example I was able to add responsive adsense at the header – so why I can’t add at the pages?
– I dont use any tagdiv plugins!
What has happened? How to fix it?
Hello,
Try with this, add in style.css
body .dd_buttons .dd_button iframe {
max-width:500px !important;
}
It worked. Thanks.
One more. I want the link (both in posts and in author page) to open in a new window. Where to add the target=”_blank”?
Hello,
The link is only on author page. If you want to have the website on posts to add this code
$buffy .= '<div class="td-author-url"><a href="' . get_the_author_url() . '">' . get_the_author_url() . '</a></div>'; like here: http://screencast.com/t/amc1XcUIpZY
Thanks for your message
Hello,
Work fine on Firefox to. Can you show us a screenshot? We can’t replicate the bug.
Hey BoredDaddy…
I will be offering this as a service again next year (WP optimization service) once we revamp our sites (ongoing); in midst of deploying new web server right now and sorting our memcache + eAccerlator + Google’s mod_pagespeed at server level. In midst of new server, and migrating our sites over, blah blah. The really arcane stuff is having mod_pagespeed convert images to Google’s new “in house” image format to load faster where it has a built-in image pyramid, with what we used to do for lowsrc (b/w image) to load as a progressive layer while the color image loads in. Wild stuff.
But to answer your question:
If you follow Radu’s little shortlist, that is a good “starting point” to get your site ramped up. His plugin does bunch of the stuff, and if you use that, turn off any whacky “phone home” plugins which are resource hogs, check your htaccess file for expiration headers, optimize your site images, and whatnot, you’ll be in good shape.
Use GTmetrix as a slightly more friendly and forgiving starting point for PageSpeed test, as it will actually tell you HOW to fix stuff. The Google version seems to be a little off, especially their latest version which catches all their own code as errors (!).