knightmetal
Forum Replies Created
-
Forum: Reviews
In reply to: [Yoast SEO] Nice plugin!Actually, please ignore the first question. I totally mixed that up with W3 Total Cache. I was working with both plugins today and somehow I posted both questions here by accident. I still have the second question though.
Sorry about the mistake, can these comments by edited?
Forum: Fixing WordPress
In reply to: Question about post summaries on front pageThanks man, it works ??
Forum: Fixing WordPress
In reply to: Question about post summaries on front pageHi again,
I went through the Codex on Shortcodes and found an example similar to what I needed, by changing a few things I made it work but I came across a different issue. If I’m on the front page it shows the paragraph that I want, so far so good. Now the question is, how do I make it reappear when the user wants to read the whole post? Here’s the function I’m using, very simple but it works.
// Hide text
function hide_text_shortcode( $atts, $content = null ) {
return ‘<div style=”display:none”>’ . $content . ‘</div>’;
}
add_shortcode( ‘hide_text’, ‘hide_text_shortcode’ );Forum: Fixing WordPress
In reply to: Question about post summaries on front pageThanks nullvariable,
I’m not experienced in creating shortcodes but if that’s the only solution, then I’ll give it a try ??
I already solved the issue, you answered it on the first two lines:
“This plugin writes the redirect in the .htaccess file. I do not know if clicking the deactivation button removes what the plugin wrote. “
I didn’t know the plugins writes the redirect in the file but I did have a suspicion it would, so I opened up the file and there it was, deleting the line where the redirect is solves it ??