Rub3X
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] HiddenThank you, and thanks for your dedication to the community ๐
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] HiddenAh I see why it does it. I created the table manually with the default 5 rows 5 columns or whatever it is. Then when my script populates the table it doesn’t add the additional 1s for each new row in post_meta. So the table itself has 50 rows while there’s only five 1s set in post_meta. So when you click save it must see there’s more rows in the table than there are in post_meta and flips them all to 0 by default.
By chance is there just a way to disable the show/hide row feature within the plugin?
Forum: Plugins
In reply to: Duplicate display of featured postsIf you’re asking what I think you’re asking, go to Appearence -> Theme options -> Sections
There you can pick and choose which categories show up on the home page and customize their colors.
Forum: Plugins
In reply to: Duplicate display of featured postsLooks like you’ll also need magazine.php to figure this out. I read the code and it looks like I should be able to change foreach ( $sections[‘section’] as $section ) {
to
while ($x < 10) {
and it should work. And it does…except it doesn’t put the stories in different columns, it puts it all in a single column…
wp_reset_postdata(); $sections = array(); parse_str( $xinmag_options['section_order'], $sections ); $col = 0; $column = 3; foreach ( $sections['section'] as $section ) { if ( $column > 1 && $col == 0 ) echo "\n" . '<div class="row">'; echo "\n" .'<div id="section-' . $section . '" class="section-home large-4 columns">'; $col = $col + 1; if ( $col == 3 ) $col = 0; xinmag_section_display( $section ); echo '</div>'; if ( $col == 0 ) echo '</div><!-- row -->'; //row } if ( $col > 0 ) echo '</div><!-- row -->'; ?> </div><!-- content -->Forum: Fixing WordPress
In reply to: Permalink structure messed upI know how to use permalinks….
Anyways for those who might have the same issue download the Permalinks Migration plugin.
Forum: Everything else WordPress
In reply to: Spam Comments from Free SubdomainsAkismet…track back validation….and then who cares after that.
Forum: Themes and Templates
In reply to: Auto Inserting <p>Issues resolved thanks to Firas in IRC ๐
Forum: Plugins
In reply to: Ordering postsYea I got it after my last post. Edited the cost clause in manually, and surprisingly WP is still functional ๐
Forum: Plugins
In reply to: Ordering postsThe SQL query it’s doing is
ORDER BY post_date desc
Obviously not the function I need.
Forum: Plugins
In reply to: Ordering posts$posts = query_posts($query_string . '&orderby=cost&order=desc'); <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <!-- post start --> <div class="clearfix post"> <h1><?php the_title(); ?></h1> <?php the_content('Site Details'); ?> </div> <!-- post end --> <?php endwhile; ?>That’s exactly what I have.
Forum: Plugins
In reply to: Ordering postsHmm I added $posts = query_posts($query_string . ‘&orderby=cost&order=desc’); before the loop and there was no change ;(
Forum: Plugins
In reply to: Ordering postsSorry what’s $query_string ?
Forum: Fixing WordPress
In reply to: Weird Chars รขโฌโขOk for anyone with this issue I found this:
http://www.moskalyuk.com/blog/removing-curly-quotes-from-wordpress-20/
Open
$curl = preg_replace(“/’s/”, ‘โs’, $curl);
$curl = preg_replace(“/'(\d\d(?:โ|’)?s)/”, “โ$1”, $curl);
$curl = preg_replace(‘/(\s|\A|”)\’/’, ‘$1โ’, $curl);
$curl = preg_replace(‘/(\d+)”/’, ‘$1โณ’, $curl);
$curl = preg_replace(“/(\d+)’/”, ‘$1โฒ’, $curl);
$curl = preg_replace(“/(\S)'([^’\s])/”, “$1โ$2”, $curl);
$curl = preg_replace(‘/(\s|\A)”(?!\s)/’, ‘$1โ$2’, $curl);
$curl = preg_replace(‘/”(\s|\S|\Z)/’, ‘โ$1’, $curl);
$curl = preg_replace(“/'([\s.]|\Z)/”, ‘โ$1’, $curl);
$curl = preg_replace(“/ \(tm\)/i”, ‘ โข’, $curl);
$curl = str_replace(“””, ‘โ’, $curl);Open wp-includes/functions-formatting.php and comment out those lines. Also avoid using MS office, because apps like that use those as well. Try editing in note/wordad or the WP editor.
Now..does anyone know how to remove all previous posts that have those chars in it? A simple find replace query won’t work, it has SQL errors idk why. Using a text editor won’t work either =\
Forum: Fixing WordPress
In reply to: Weird Chars รขโฌโขIt’s already at UTF-8. =\
Forum: Plugins
In reply to: Two domains one installI really don’t want two seperate installs and databases..that’s twice the work in maintaining it =\