Nagytalp
Forum Replies Created
-
Hi,
the Price rounded was helped and now the feed is perfect.
Thank You for the support!Cheers,
Csaba.Forum: Fixing WordPress
In reply to: My wp-site has been hackedI have the same problem. Sucuri and the other stuffs is useless in this case. I tried lot malware scanners and changing my security plugin to a more complex one but failure is not inside my site. All scanner tells the site is clean. I checked lot of my WP files and all seems good.
Sadly I can see the unwanted keywords in the Google Webmaster Tools, but I can’t edit it.
The only way is emailing to google for remove the cloned site from the index. Or kill the hacker! Or maybe a fresh install of wordpress in a new folder on the host.
@flavius Tudor: How do You find your cloned site name?
Forum: Hacks
In reply to: Display custom taxonomy part as "label on image" @homeHello,
Finally it solved!
In content.php
<div id="imagelabel"> <h6><?php $p_terms = get_the_terms($post->ID, 'tagportfolio'); if ($p_terms && !is_wp_error($p_terms) ) { $term_links = array(); foreach ($p_terms as $p_term) { $term_links[] = $p_term->name; } $termslinks = join(", ", $term_links); echo "<span class='imagelabel'><a href='" . "'>$termslinks</a></span>"; } ?><h6>
In style css:
#imagelabel h6 { position: absolute; left: 1px; top: 0px; z-index: 1; padding: 0px; margin: 0px; background-color: #FF8C00; background-position: 50% 50%; line-height: 1.5em; width: auto; }
Basically the
is_home
andis_front_page
conditional tags not worked so well in my case. I have an inner-image-placeholder section in my theme’s php code. So I use the imagelabel inside the inner-image-placeholder with the # CSS selector. Next time I wanna override the H6 font type in the imagelabel.Thank You for the help!
Forum: Hacks
In reply to: Display custom taxonomy part as "label on image" @homeHello,
sorry for my late and Happy New Year!
1., So, the labels worked great until this day.
2., Theis_home
not works because if I use it than the labels not showing up on home page. (I have no idea why?)
3., The hovering flash is present but basically in FirefoxBack to the 1st point:
I tried to change my social sharing buttons plugin to another one but now I have the following error message:
Warning: Missing argument 1 for get_page_uri(), called in /home/irodalm2/public_html/wp-content/themes/Ikebana/content.php on line 70 and defined in /home/irodalm2/public_html/wp-includes/post.php on line 3639
If I switch back to the old plugin the error is not present.
Have any idea how to fix it?
Forum: Hacks
In reply to: Display custom taxonomy part as "label on image" @homeThank You!
After some modifications the code looks like this:
<?php $p_terms = get_the_terms( $post->ID , 'tagportfolio' ); if ( $p_terms && ! is_wp_error( $p_terms ) ) { $term_links = array(); foreach ( $p_terms as $p_term ) { $term_links[] = $p_term->name; } $termslinks = join( ", ", $term_links ); echo "<span class='imagelabel'><a href='" . "'>$termslinks</a></span>"; } ?>
I cleared the ‘the_permalink’ because it shows the full link. Now I see label and I can click on it but all links linked to home page. Have You any tip to how can change it to right directions?
And now the labels displayed on the sub-pages too. But I need it only on the home page.
Forum: Hacks
In reply to: Display custom taxonomy part as "label on image" @homeNot flashes when the mouse is on the label. But flashes when You moves to right a little bit.
And the another one story:
How can I make hyperlinked the label? I mean if anybody clicks on the label it drops the user to the taxonomy page. For this enough to add some lines to the css under the .imagelabel?Forum: Hacks
In reply to: Display custom taxonomy part as "label on image" @homeThat is really cool! Thank You!
Only the extremely fast flash problem left. But have no idea, why it flashes when the mouse is on the label?