- 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
Radu (or anyone else),
Have you or anyone you know of done this successfully? I am looking to add a pinterest line to the social counter as my company has a big presence there.
I added and modified (successfully) the code from your 1st and 2nd screenshots. When I got to your 3rd and 4th screenshots, your arrows point to facebook and twitter code examples. You mention hiring a developer or going through the pinterest API, but I coulnd’t find any that information on their site or elsewhere.
Do you happen to have any working examples of pinterest code in “td_social_api.php” since you last posted in here?
Has anyone else gotten it to work?
Thanks a ton, keeping my fingers crossed.
Hello,
Is it possible for the theme to show a different ad-code depending on where it is displayed?
So for example, if the user is looking at category A, “Header Ad” will show a certain code, and if in category B another?
thanks
For example, using the shortcode
[vc_button title="Button" target="_self" color="default" size="size_large2" href="#"] style as the buttons or styling the next shortcode myself?
Hi Lucian,
Excellent, works great! 🙂
Two questions:
1. How/where can I decrease the empty spacing above and below the Justified Image Grid. See here for illustration: http://goo.gl/99pjCr
2. How can I insert the Justified Image Grid in the same position, but this time on every post/article?
Thanks, you rule 🙂
Hello
Is it possible to use ads or a static jpeg next to the header logo and to have these changing within each category?
For example I want to use a Main logo throughout the site and next to it on the right use a logo that will differ depending on the section/category you are in. If you were on a business news page it would show a company business logo on the right, if you were in the sports section it could show a different logo, sports related. I have companies that wish to sponsor categories of the website and so their logo or ad would link to a sponsor page.
I hope this makes sense.
Thank you
Jason
Hi,
I add custom CSS but ads looks like this:
http://i61.tinypic.com/2a0esle.jpg
http://i58.tinypic.com/dnycs9.jpg
Example tag page:
http://mmoda.net/etiket/amalie-schmidt/
Refresh page and you can see different ads which not resizing correct size.
We recently got a PHP error. Maybe you can help me. I do not know whether it is related to the theme
[error] [client 94.23.xx.xxx] PHP Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in …./wp-includes/functions.php on line 3245, referer: http://www.samdownloads.de/
PHP Version & Info: http://www.samdownloads.de/ley-phpinfo.php
Thanks in advance
Florian
Sorry to get in on another’s question, when you implement this, can you add an option to set the post style default per category? For example Style 3 is great for videos, so would like to set it as default for the category videos.
Hi,
Add this code:
echo td_page_generator::wrap_start();
echo '<div class="span12">';
add your code here
echo '</div>';
echo td_page_generator::wrap_end();
1. For the front page you have to edit the index.php file, like this: http://screencast.com/t/AqIdjBzsTHc5
2. For the category page you have to edit the category.php file.
You have to do the same for other cases if you like, with sidebar left or no sidebar.
Thnaks
Example tag page:
http://mmoda.net/etiket/sasha-luss/
I see that, text ads doesn’t align properly too. I’ve marked ads area:
http://i61.tinypic.com/2utrguq.jpg
Hi there!
I’d like to see an option for post template 3 and 4 that would replace the gradient over the bottom half of the featured image with only a background for the actual post title. (i.e. only in the red box in the example linked below)
Just like you already do it in thr big slide:
https://www.evernote.com/shard/s1/sh/3468cf62-923a-41e2-98b6-e30e48c5f211/b4b0469a1c07ba38d6d4a4e4efc50c7c/deep/0/example.png
This may or may not work for you with this theme; but general settings from a blog called online media masters, and I’ve seen the same settings elsewhere would be as so:
(THIS MAY BE INCORRECT FOR THIS THEME: BE SURE TO TRY SETTINGS FOR YOUR SETUP: KEEP BACKUPS, AND KNOW HOW TO GO BACKWARDS BEFORE USING ANY CACHE!)
—————-
(to quote …)
General Settings
â—ľLeave unchecked
Page Cache
â—ľPage cache: enable
â—ľPage cache method: disk enhanced
Minify Settings
â—ľMinify: enable
â—ľMinify mode: auto
â—ľMinify cache method: disk
â—ľHTML minifier: default
â—ľJS minifier: JSMin (default)
â—ľCSS minifier: default
Database Cache
â—ľDatabase cache: enable
â—ľDatabase cache method: disk
Object Cache
â—ľObject cache: enable
â—ľObject cache method: disk
Browser Cache
â—ľBrowser cache: enable
CDN
â—ľCDN: enable
â—ľCDN Type: MaxCDN
Reverse Proxy
â—ľLeave unchecked
Network Performance & Security powered by CloudFlare
â—ľIf you have a CDN: leave unchecked
◾If you don’t have a CDN: sign up for CloudFlare and use the settings shown in the picture
Note: W3 Total Cache and CloudFare have integrated their products.
Monitoring
You’ll see an option here to sign up for New Relic. This is a tool for monitoring your web and mobile apps performance. It’s more for developers but if you are one, you probably already know about this service. Otherwise, leave it blank.
Licensing
â—ľLeave blank
Miscellaneous Settings
If you want to see your Google Page Speed score in your WordPress dashboard, there’s instructions in this menu. Otherwise, here are the settings I use:
â—ľEnable Google Page Speed dashboard widget: enable
â—ľVerify rewrite rules: checked
â—ľEnable file locking: unchecked
â—ľOptimize disk enhanced page and minify disk caching for NFS: unchecked
Debug
â—ľLeave everything unchecked
Import / Export Settings
If you want to use the same W3 total cache settings across multiple websites, export your settings and import them into the new WordPress sites.
Hi,
I would like to include the Justified Image Grid (JIG) plugin (see http://goo.gl/oHZyn) into my frontpage and all category pages. I am using a child-theme.
I already have to correct code to insert into the php files, but do not know where to exactly insert the code (and in which files) to achieve this.
Take a look here for illustration:
1. Frontpage: http://goo.gl/EIFJmk
2. Category: http://goo.gl/EcYQBv
Can you help out? Where exactly do I put the php code? What file and what line in the file?
Thanks 🙂
Everything is allright, but these 4 files are the headache…
http://www.techizm.com/…-includes/js/jquery/jquery.js?ver=1.11.0
http://www.techizm.com/…s/jquery/jquery-migrate.min.js?ver=1.2.1
http://www.techizm.com/…gin/css/settings.css?rev=4.3.8&ver=3.9.1
http://www.techizm.com/…gin/css/captions.php?rev=4.3.8&ver=3.9.1
Scores : http://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.techizm.com&tab=desktop
Hello,
Can you point me to the code that controls when the sidebar gets pushed down to display after the content? What is the breakpoint and where is it set?
I’m using sidebar right. I’d like it to display normally (in line with content, and not pushed to display AFTER content) in desktop as well as when the min-width of the device is at least 1024px. Examples of this would be when viewing in landscape mode for all tablets…. it’s goofy when you have such real estate to display yet have to stretch out the content with the sidebar displayed afterwards..
Thanks
I was able to get this figured out so I will place what I figured out here as a reference in case others are also using double click.
First, in your header file you need to use the following code:
<script type=’text/javascript’ src=’//partner.googleadservices.com/gampad/google_service.js’>
</script>
<script type=’text/javascript’>
GS_googleAddAdSenseService(“ca-pub-your google ad sense pubid”);
GS_googleEnableAllServices();
</script>
<script type=’text/javascript’>
GA_googleAddSlot(“ca-pub-your google ad sense pubid”, “DFP inventory name spot1 here”);
GA_googleAddSlot(“ca-pub-your google ad sense pubid”, “DFP inventory name spot2 here”);
GA_googleAddSlot(“ca-pub-your google ad sense pubid”, “DFP inventory name spot3 here”);
GA_googleAddSlot(“ca-pub-your google ad sense pubid”, “rightsidebar_300x250″);
</script>
<script type=’text/javascript’>
GA_googleFetchAds();
</script>
Then in the theme file under the ads setting you place the following code in place:
<div style=”width:300px;height:250px;margin-top:10px;margin-left:auto;margin-right:auto”>
<script type=”text/javascript”>
GA_googleFillSlot(“rightsidebar_300x250”);
</script>
</div>
This works for me.
Hi,
I’ve always said that the theme is awesome and it still is. It would be more better if you guys adds some more colour to it. For example, in the review system, there is not colour only white and light gray.
I have an idea to change it. If something has more than 7+ in the review, it will show as green, if its 5+ it will show yellow-ish and if its under 5, it will be red. I am pretty sure that it is possible.
If you are planning to add it please let me know. If not, can you please tell me how can it be done?
Thanks in advance 🙂
a class=”td-admin-edit” href=”http://localhost/themost/wp-admin/post.php?post=65&action=edit”>edit/a
Hey! I bought this theme yesterday and i’ve got some troubles today(
Somehow after i edited a picture in the post as a result i got 2 first pictures in each post. When i look at my post in admin panel i see the only one picture and no additional pictures code in text/cjde view. I’m not good at codind, but i found a weird stuff (edit) in this place <div class=”thumb-wrap”>.
When i delite it in the browser all gets great, but i can’t find this code in files. Actually i don’t know in which file it might be…
Thanks in advance for your help
Hi,
You can do it by adding the block from single.php file before the sidebar using the do_shortcode() function like this: http://screencast.com/t/0diGnANrnc
This way you will display first in the sidebar a “Related Posts” section by current posts first tag, it will display the posts that have the tag which is first on current post tags, it’s using block 5. You can customize the block from page builder and you can find the shortcode if you switch to classic mode.
Here you have the code from my example: http://pastebin.com/pZNUHNTL
You can do the same in case the sidebar is on the left side.
Result: http://screencast.com/t/xaqyue8Wc
Let me know if it works.
Thanks
Hi,
Please add this custom CSS in Theme Panel > Custom CSS:
.td-post-text-content img .wp-smiley {
display: inline-block !important;
}
Also in order to make turkish letters work with speed booster plugin add this code:
&subset=latin,latin-ext
..in the functions.php file, like this: http://screencast.com/t/R0kmXGB8
Thanks
-
This reply was modified 12 years by
Lucian.
I’m currently using the Bottom Ad space for a widget (zerg) placement but would like to place this code undernearth the social bar and above previous / next post.
I would rather use a Custom ad spot but i can’t figure out where to put the code or what code to use.
Example is here. Currently the bottom ad space is appearing above the NextPage / Previous page spot which i needs to be below.
http://www.heyuguys.com/5-best-worst-moments-history-24/
Thanks.
Dave
Hi,
I’ve tested and seems to work only if use without space after the comma, like in example: 13,23,18 not 13, 23, 18
I will add this to be fixed in an update to work in both cases.
Thanks for the message!
Hi Lucian and team,
I would like to give you couple feedbacks about the Login/Registration forms from the point of view of the user. It looks beautiful, but it is missing couple options to be the best login form I have seen for WP.
+ Login
– missing a “Keep Me Connected” checkbox
– would be nice to have fields in theme Translation menu, for the “Remember Password” notification email
+ Register
– validate username only with alphanumerics, but excluding -, _, spaces and at least 4 chars, see below
– would be nice to have fields in theme Translation menu, for the “Welcome” notification email
– create a option to insert a link, target new window, in case the user wants to read the Terms of Use, for example
+ Logout
– settings to decide where the user should be redirected after logout
I tried the validate_username and seems your theme override the function. See below:
add_filter( ‘validate_username’, ‘username_restrictor’ , 10, 2 );
function username_restrictor( $valid, $username ) {
if ( ! $valid || ( is_user_logged_in() && current_user_can(
‘create_users’ ) ) )
return $valid;$username = strtolower( $username );
if ((!ctype_alnum($username)) || (strlen($username) < 4)) {
$valid = false;
} return $valid;
}
Thanks!
Hi,
The code depends on the type of ad you use in the header. For example the code i gave you it’s for ads that use an image as it use the .td-visible-desktop or -tablet-l or -tablet-tp or -phone classes and adds content after it, if you decide to use AdSense ads the classes changes and you also need to change the class in the css code i gave you http://screencast.com/t/zuPw34Trbrm
Try changing the classes according to your ad type.
If you can’t do it please send me your site URL so i can check.
Thanks