blazeblaze
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: SubHeading] subtag :)Sorry for the mistakes : /
Forum: Plugins
In reply to: [Plugin: SubHeading] subtag :)Hi!
Unfortunately this plugin didn’t help me because I couldn’t customize the output in any way.
So I was reading about custom fields like crazy, tried a dozen of possibilities and… my site stopped working ??
Luckily I had a backup and couple of hours after that and a few another crashdowns I’ve finally found a sollution.
A very simple one :O
at the begining of index.php you just have to put the loop code and then for example
$something = get_post_meta($post->ID, 'Name of the custom field', $single = true);
close the loop
and then in any part of index.php you want it’s enough to write:
<?php if($something !== '') { ?> <a href="<?php echo get_post_meta($post->ID, 'Name of the custom field', true); ?>"><img class="url_img" src="/wp-content/picture.gif"/></a> <?php } ?>
The if is necessary if you don’t want to have this button all over your site ??
The a href gives you already the output in a form of hyperlink so in the custom field you just write an url(!) and the img clas allows you to customize the button however you want via CSS.Repeat in single.php
Voila! ??
Forum: Plugins
In reply to: [Plugin: SubHeading] subtag :)Hi 36flavours ??
It works! :O I’ve managed to wrap the links in a div tag. Now I’m struggling like Sisyphus with attaching span tag to each of those two links ??
Here’s a test page:
https://gry-rekreacyjne.pl/recenzje/zrecznosciowe/a-ball-recenzja/At the botton there are two links genrated by post-link plugin: gry rekreacyjne and gry casual.
Unfotunately I have no idea how to make links wrapped by span tag each. For example the first link would ALWAYS have span tag=”pobierz” and the second one =”online”.
If you know how to do that, please teach me by an example.
Ultimately we would like to separate those two links so they are in one line but one of them would be on the right styled with button and the other one on the left, but I think I will manage to do it (hopefuly!) by reading tutorials online, after they have different span classes.
I’ve wiritten about it on author’s homepage, but if you are able to help and have time to write about it, please drop a line here.
Also thanks again for pointing to this plugin! It works on WP 2.8.4 ??
Forum: Plugins
In reply to: [Plugin: SubHeading] How to display other plugins code within?Thanks for the efforts! So something might be bad with our theme, because the subheading actually displays just the exact shortcode, not the stars.
Thanks again. Still let me know when you will want to localize the plugin ??
I think we may close this topic, as there is currently nothing I can do about the last problem, whereas subheading plugin works as it should be ??
Cheers & GL! ??
TomForum: Plugins
In reply to: [Plugin: SubHeading] How to display other plugins code within?Ad1. The issue is resolved ?? Char’s are displayed as they should be.
Ad2. It still doesn’t work. I’ve tried many different functions and short codes to put after the echo. One of them even made displaying whole single.php impossible ??
Do you have any other ideas?
Ad. 3. You’re welcome ?? This translation will be pro!
Cheers! ??
Uh, that doesn’t help me at all too, as I said the docs are of no help to me ??
I hope this isn’t an issue of whole theme integration, but just rendering the stars in a slightly different part of a post, in the single.php and index.php.Forum: Plugins
In reply to: [Plugin: SubHeading] How to display other plugins code within?Yes, installing new version helped ?? We were using the still good but old 2.2.
Unfortunatelly, now we are having next two issues:
1. Something bad happened to encoding. Formely, it was UTF-8 I believe and dispayed Polish characters correctly like Pobierz gr?. Now it’s a mess.
2. For game ratings we are using gdstar plugin (https://www.gdstarrating.com/) and as you can see on the very bottom of the post there are stars which are diplayed by puttinga short code of [starreview tpl=16] . Is it possible to make it work in the subheading also? That is an ultimate feature we would like to introduce to our website.
EXAMPLE POST: https://gry-rekreacyjne.pl/recenzje/zrecznosciowe/a-ball-recenzja/
3. Bonus: if you ever will want to localize this plugin to Polish, drop me a line!
Pozdrowienia! ??
Forum: Plugins
In reply to: [Plugin: Live Countdown Timer] Plugin doesn’t save settingsThe same happens on my blog. I don’t use any cache plugin and have the latest version installed.