ghaib
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Add title inside the_contentI tried, I’m getting this error:
syntax error, unexpected T_LNUMBER
I think it’s because I also include the comment code
<?php comments_popup_link('0', '1 ', '% '); ?>
right after the title (in a div).Any ways of fixing this? (I’m not a php wiz ?? )
Thanks!
Forum: Themes and Templates
In reply to: Add title inside the_content@alchymyth I applied your code, it seems to be working.
In essence, what I want is the title (h2) to be included in the same
<div>
as the content, usually it’s:<h2>Test title</h2> <div class="content">The content</div>
What I’d like to achieve is something like this:
<div class="content"> <h2>Test title</h2> The content</div>
While your code works, what if I want to wrap the title in additional divs, and have it be a link as well?
Forum: Themes and Templates
In reply to: Add title inside the_contentWell, the theme is coded like any other WP theme.
Forum: Fixing WordPress
In reply to: Remove category link from the_categoryThanks, it worked!
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Cached page is always newHaven’t debug it, don’t really know how to do that.
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Cached page is always newRunning it in half-only mode doesn’t solve anything, it still generates new pages, meaning the plugin is useless.
Forum: Plugins
In reply to: [Plugin: vSlider] This plugin injects hidden links into the footerThat’s just disgusting that someone would do that.
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Dynamic & Static page generate on each pageview#19 is set up correctly, and I tried it on half-on mode, but it still generates a new cached file for every new visitor.
If they reload the page, the cached one seems to be served, but for everyone new, a new cached page is generated — which means the plugin is pretty useless if there’s a sudden spike in traffic (e.g. from Digg).
Does anyone know any good alternative WP cache plugins?
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Cached page is always new@donncha: I have, and it’s set up correctly )to the correct path), but still appears to generate a dynamic and static page on each reload.
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Cached page is always newI’m having the exact same problem.
Forum: Plugins
In reply to: WP Super Cache generates both dynamic and staticbump
Forum: Themes and Templates
In reply to: Separate “Read more” from “php the_content”bump
Forum: Themes and Templates
In reply to: Separate “Read more” from “php the_content”Yep, that’s exactly what I mean. I solved it partially by doing this:
<?php the_content(''); ?>
And then this, in a separate div:
<a href="<?php the_permalink(); ?>">Read more</a>
However, a new problem emerges: the “Read more” button will always be present, linking to the post, whether
<!--more-->
is specified in the post or not.Forum: Themes and Templates
In reply to: Separate “Read more” from “php the_content”@jrav001: Thanks for the tip, it works, however, it always displays the “Read more” button, even if read more isn’t used in the post.
Forum: Fixing WordPress
In reply to: Plug-in Admin Page Is Suddenly Blank!Same problem here