Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
allthingswestcoast
tagDiv Member

Thanks for the information. I think we will try again some later date.

It seems also the font in top menu is different color and size. Also the social media icon colors are different.

Would like the speed, but a lot of work/changes for now.

Best,
Clint

allthingswestcoast
tagDiv Member

Thanks for help.

For it to completely match I will also need to replace also the “top menu background color” and also “menu border color” ?

allthingswestcoast
tagDiv Member

Thanks we have it working with Ultimate Sharing Deux plugin, seems to work well. Clint

allthingswestcoast
tagDiv Member

Got it, we’re good! Thanks

allthingswestcoast
tagDiv Member

Thanks, I think we have it working. Looks good, hopefully not a negative performance hit though:

http://www.starkinsider.com/2015/05/smuin-ballet-goes-full-cycle-unlaced.html

allthingswestcoast
tagDiv Member

It works. I had to also add post->post_excerpt to these files:

single_template_2.php
single_template_3.php
single_template_4.php
single_template_5.php
single_template_6.php

Clint

allthingswestcoast
tagDiv Member

Found it: td_module_single_base.php

Replaced code inside get_social_sharing_top() with:

$buffy .= ‘<div class=”ultimatesocial”>’;
$social=do_shortcode (‘[ultimatesocial networks=”total,facebook,twitter,mail” align=”left”]’);
echo $social;
$buffy .= ‘</div>’;

It works, but the div code is not outputting properly. I must be doing something wrong with syntax.

Clint

allthingswestcoast
tagDiv Member

BTW I can’t find sub-title code in loops 2 to 6.

allthingswestcoast
tagDiv Member

Ah, no if I delete loop-single.php it stops! It was Cloudflare cache.

Sorry! 🙂

Still can’t get excepts working though on 2-6. Trying!

allthingswestcoast
tagDiv Member

Also post->post_excerpt works for default loop-single.php.

So:

loop-single.php Y
loop-single-1.php Y
loop-single-2.php N
loop-single-3.php N
loop-single-4.php N
loop-single-5.php N
loop-single-6.php N
loop-single-7.php Y
loop-single-8.php Y

I feel like there is something wrong with the installation. As I mentioned when I delete “loop-single.php” everything still works! And I know it shouldn’t right?

Clint

allthingswestcoast
tagDiv Member

Hi, last question on this one.

I see this in each loop:

<?php echo $td_mod_single->get_review();?>

But where is if statement located to check if “Is product review” (and thus execute td_review.php)?

Thanks!

allthingswestcoast
tagDiv Member

Ah, all for not. I’ve decided to use your core review code as is!

allthingswestcoast
tagDiv Member

I think I got it! Here’s code I used, hopefully ok 🙂

$buffy .= ‘<div class=”td-review-summary-content”>’;
$venue = get_post_meta( get_the_ID(), ‘review-where’, true);if (!empty($venue)) {$buffy.=”.$venue.”;}
$buffy .= ‘</div>’;

allthingswestcoast
tagDiv Member

Thanks Lucian! I am so close (I can’t afford to hire freelancer). I added this line and the if works, but won’t output:

if((get_post_meta(get_the_ID(),”review-where”,true))) {$buffy.=’.get_post_meta(get_the_ID(), “review-where”, true).’;}

I know syntax is incorrect on 2nd part. How to I make it execute .get_post_meta command instead of echo?

If I know this I can do rest no problem! So close!

Clint

allthingswestcoast
tagDiv Member

Yes, we added the post_excerpt as follows for each: loop-single.php, loop-single-1.php, loop-single-7.php, loop-single-8.php:

<?php if (!empty($td_mod_single->post->post_excerpt)) { ?>
<p class=”td-post-sub-title”><?php echo $td_mod_single->post->post_excerpt;?></p>
<?php } ?>

I works, but only 1, 7, 8 show excerpt.

If I (temporarily) delete loop-single.php web site posts still load (no cache)! Which means maybe loop-single.php is not being called from this location for some reason?

Thanks again guys!
Clint

allthingswestcoast
tagDiv Member

Yes we tried it, have at 50% per your suggestion.

I’ll email admin account if you want to look. Thanks!

allthingswestcoast
tagDiv Member

Hi Alin, thanks I have it working for default, 1, 7, 8.

For rest I did modify loop-single.php the same way, no result.

But it seems loop-single.php is not being used. I renamed it (.off) and single posts still serve.

I had loop-single.php in child theme, but deleted. And template is set to DEFAULT site wide.

Odd? Any ideas?

Clint

allthingswestcoast
tagDiv Member

Oh, one more thing. We have about 5 custom fields we add to every review that includes venue, directors, actors, etc.

One example custom field is called ‘review-where’.

How do I push that field to the review module, right below ‘SUMMARY’ section?

My current code is:

<?php if((get_post_meta(get_the_ID(),”review-where”,true))) { ?>
<?php echo get_post_meta(get_the_ID(), “review-where”, true); ?><?php } ?>

Thanks again, I’m absolutely blown away by you guys!

allthingswestcoast
tagDiv Member

Brilliant thanks, works a charm. Final code:

if (self::calculate_total($td_review) == 5) {
$buffy .= ‘<span>’ . __td(‘OUTSTANDING – STARKIE!’, TD_THEME_NAME) . ‘</span>’;
} elseif(self::calculate_total($td_review) == 4.5) {
$buffy .= ‘<span>’ . __td(‘RIGHT ON THE MONEY’, TD_THEME_NAME) . ‘</span>’;
} elseif(self::calculate_total($td_review) == 4) {
$buffy .= ‘<span>’ . __td(‘SMASHING’, TD_THEME_NAME) . ‘</span>’;
} elseif(self::calculate_total($td_review) == 3.5) {
$buffy .= ‘<span>’ . __td(‘SWEET STUFF’, TD_THEME_NAME) . ‘</span>’;
} elseif(self::calculate_total($td_review) == 3) {
$buffy .= ‘<span>’ . __td(‘WORTH A LOOK’, TD_THEME_NAME) . ‘</span>’;
} elseif(self::calculate_total($td_review) == 2.5) {
$buffy .= ‘<span>’ . __td(‘COMME CI, COMME ÇA’, TD_THEME_NAME) . ‘</span>’;
} elseif(self::calculate_total($td_review) == 2) {
$buffy .= ‘<span>’ . __td(‘BOOHOO’, TD_THEME_NAME) . ‘</span>’;
} else {
$buffy .= ‘<span>’ . __td(‘OVERALL SCORE’, TD_THEME_NAME) . ‘</span>’;
}

allthingswestcoast
tagDiv Member

It does work on template style 1!
Not sure why not on default.

allthingswestcoast
tagDiv Member

Hi, we tried it later today on loop-single.php and there is no change in default template. Code:

<?php if (!empty($td_mod_single->post->post_excerpt)) { ?>
<p class=”td-post-sub-title”><?php echo $td_mod_single->post->post_excerpt;?></p>
<?php } ?>

Maybe it won’t work on child template?
Thanks again,
Clint

allthingswestcoast
tagDiv Member

Thanks. I think we will use the TD review system instead to avoid complication. It looks great.

One change I want to make is instead of showing ‘OVERALL SCORE’ to a word related to the score.

E.G. 5 stars = ‘AWESOME’
4.5 stars = ‘ VERY GOOD’
etc

We are familiar with if/else and I see where to modify line in td_review.php.

What would syntax be, something like:

if the_field (‘rate’) = 5 stars, $rateword=’AWESOME’;
$buffy .= ‘<span>’ . __td($rateword, TD_THEME_NAME) . ‘</span>’;

Just not sure of correct syntax. I hope you can advise on this 1 change, the theme is awesome and love the modular structure!

Clint

allthingswestcoast
tagDiv Member

Thanks, great.

allthingswestcoast
tagDiv Member

Thanks! We may instead use the Newsmag system as it is very good.

I’d like to copy over our custom field “Rating” (0-5 with 0.5 stars) to the DB field used by the theme.

Any suggestions if this would be fairly straightforward? SQL query?

Cheers,
Clint

allthingswestcoast
tagDiv Member

Quick update re: placing leaderboard above menu. It does work when modifying header-style-5.php. Child didn’t work (and upon reviewing your documentation I now learned something more!), but direct edit did work.

Still, I did not like the look, so we’ll try other positions.

Thanks again guys!

Viewing 25 posts - 1 through 25 (of 31 total)