ash
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Infinite scroll support (Jetpack)???
Forum: Themes and Templates
In reply to: [MesoColumn] Undefined index: tn_mesocolumn_feat_layout ErrorHi Richie
I tried solving it – but this is the error I am getting now.PHP Notice: Undefined
variable: cat_id in
../archive.php on line 20Forum: Fixing WordPress
In reply to: Changing the default from 'Status' To 'Blog Post'Nopes. That was for P2 theme – i.e. changing the default type from ‘Status Update’ to ‘Blog Post’ or something else.
Forum: Fixing WordPress
In reply to: orderby=rand doesn’t work ?Basically, I do want to display only 1 post – but randomly from a selected category.
THe query that I am running fetches the first post – so essentially, rand function isn’t working fine.And I am running 2.6.5 – any help?
Forum: Fixing WordPress
In reply to: orderby=rand doesn’t work ?Umm..but showposts is meant to fetch ‘n’ number of queries (link)
What’s the right code then?Forum: Fixing WordPress
In reply to: Random posts from selected category/tagThis didn’t work:
Sorry for asking again – but I stil don’t quite get it.
Pls help me out<?php $featured = new WP_query("cat=2&showposts=1&orderby=rand"); ?>
What’s wrong with this query?
Forum: Fixing WordPress
In reply to: orderby=rand doesn’t work ?Lenk
Sorry for the stupidity – but I stil don’t quite get it.
Req you to help me out ??
<?php $featured = new WP_query("cat=2&showposts=1&orderby=rand"); ?>
What’s wrong with this?
Forum: Fixing WordPress
In reply to: orderby=rand doesn’t work ?I am running this query
<?php $featured = new WP_query("cat=11&showposts=1&orderby=rand"); ?>
and somehow it fetches only the first post (in that category).Any idea how to resolve this?
PS: I am running the latest wp versionForum: Fixing WordPress
In reply to: Post Title not showing up on click of “More” tag and “Comment” linkCan anybody help me with this? I checked Firebug and for some stupid reason, “element.style: display: none” is being added in the posthead div tag. here is the code:`<div class=”SC”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”Post” style=”padding-bottom: 50px;”>
<div class=”PostHead”>
<h1 class=”title”><?php the_title(); ?></h1>
<p class=”PostDate”>
<strong class=”day”><?php the_time(‘d’); ?>
<strong class=”month”><?php the_time(‘M’); ?>
</p>
<p class=”PostInfo”>Author: <?php the_author() ?>. Category: <?php the_category(‘, ‘) ?>
</p>
‘Forum: Fixing WordPress
In reply to: Post Title not showing up on click of “More” tag and “Comment” linkHere is an e.g. :
https://www.pluggd.in/2008/05/anatomy-of-a-good-business-plan-combination-of-strategic-operational-and-tactical-plans#more-1515doesn’t shows the post title,
while
https://www.pluggd.in/2008/05/anatomy-of-a-good-business-plan-combination-of-strategic-operational-and-tactical-plans
works fine.I am just trying to figure out how to get past this issue.
Any help s highly appreciated.-A
Forum: Fixing WordPress
In reply to: publishing to a category page?Thanks for the info about ACE. Solves the query
Forum: Fixing WordPress
In reply to: publishing to a category page?Simon – sorry about the confusion. I am specifically referring to tdo-mini-forms plugin.
I want the o/p of that plugin to be published in a category page.Any help?suggestion?
Forum: Fixing WordPress
In reply to: publishing to a category page?Let me clarify – I want the output of this plugin to not be displayed on the main page, and instead on a category page.
So I belive the change needs to happen in the plugin code..Right?Forum: Fixing WordPress
In reply to: 2.3.2 sidebar widgets not workingIssue resolved – here is what I did.
Upgraded to the latest contactform plugin, deactived “Simple Trackback Validation” plugin and it worked.I believe, it was more to do with contactform plugin.
Forum: Fixing WordPress
In reply to: 2.3.2 sidebar widgets not workingwell..I have been running the mod_security since the last 6 months..but never faced this issue.
any other possibility?