tekehe
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Help:Warning: array_merge(): Argument #1 is not an array<?php wp_list_comments( array( 'callback' => 'boromeke_comment' ) ); ?>
Forum: Themes and Templates
In reply to: Help:Warning: array_merge(): Argument #1 is not an arrayForum: Fixing WordPress
In reply to: Nginx 301 jumps, old "Feed" address can not accessNobody encountered such a situation?
@pfefferle Thanks!
Forum: Localhost Installs
In reply to: Seek help:RSS Feed not workingForum: Localhost Installs
In reply to: Seek help:RSS Feed not workingStrange things feed / atom / this address has no problem
Forum: Localhost Installs
In reply to: Seek help:RSS Feed not workingForum: Localhost Installs
In reply to: Seek help:RSS Feed not workingHi,
@ kmessinger
I do not quite understand what you mean, can a little more detail, how to operate?Thanks!
Forum: Themes and Templates
In reply to: Theme does not work@stephencottontail
Because I added this:
But I do not know modify it.<?php $orig_post = $post;
global $post;
$tags = wp_get_post_tags($post->ID);
if ($tags) {
$tag_ids = array();
foreach($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id;
$args=array(
‘tag__in’ => $tag_ids,
‘post__not_in’ => array($post->ID),
‘posts_per_page’=>5, // Number of related posts to display.
‘caller_get_posts’=>1
);
$my_query = new wp_query( $args );while( $my_query->have_posts() ) {
$my_query->the_post();
?>-
<?php $hthumb = get_post_meta($post->ID,’hthumb’, true); ?>
” title=”<?php the_title(); ?>” ><img src=”<?php echo catch_that_image() ?>” />
<p><?php the_title(); ?></P>
<? }
}
$post = $orig_post;
wp_reset_query();
?>Forum: Fixing WordPress
In reply to: 'endwhile' (T_ENDWHILE) & wp_enqueue_script ErrorCorrection:
1: Notice:… Wp_enqueue_script was called incorrectly Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks Please see Debugging in WordPress for more information (. This message was added in version 3.3) in / var /…../wp-includes/functions.php on line 3370
code:trigger_error( sprintf( __( ‘%1$s was called incorrectly. %2$s %3$s’ ), $function, $message, $version ) );
2: Parse error: syntax error, unexpected ‘endwhile’ (T_ENDWHILE) in /var/…../wp-content/themes/……/single.php on line 40
single.php code: https://pastebin.com/pCCmBp6n3: Deprecated: Function ereg_replace () is deprecated in /var/……../wp-content/plugins/popularity-contest/popularity-contest.php on line 2590
popularity-contest.php : https://pastebin.com/LcnqMhDnForum: Plugins
In reply to: "popularity-contest" Does not workDoes not anyone know what happened?
Forum: Themes and Templates
In reply to: Theme does not work@ stephencottontail ad2.php all code
<?php
$ad = get_option(‘template_ad’); ?><div class=”ad2″>
</div>
Forum: Themes and Templates
In reply to: Theme does not workall code
<?php
$ad = get_option(‘template_ad’); ?><div class=”ad2″>
</div>
Forum: Themes and Templates
In reply to: Theme does not workline 40
<?php comments_template(); ?>
<?php endwhile; else: ?><h1 class=”title”>Not Found</h1>
<p>I’m Sorry, YOU are looking for something that ISN’T HERE. </p><?php endif; ?>
Forum: Themes and Templates
In reply to: Theme does not work<?php comments_template(); ?>
<?php endwhile; else: ?><h1 class=”title”>Not Found</h1>
<p>I’m Sorry, YOU are looking for something that ISN’T HERE. </p><?php endif; ?>
-
<?php $hthumb = get_post_meta($post->ID,’hthumb’, true); ?>