Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.
All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!
Possible ba ma increase yung search capability ng search engine ko sa wordpress?
Example dun sa page ko "Resume" pag mag search ako duon tanging "Resume Title" lang yung na search niya
gusto ko lang ma increase pa at ma include yung "Location, Skills at iba pa" Possible ba yun?
Ibig mo po ba sabihin sir ay kapag nag search ako sa website mo ng "resume", ang lalabas po ay hindi lang "resume title" na web page kundi pati "location, skills, at iba pa"? Ano po bang "search" ang tinutukoy mo sir? Yung CTRL+F po ba o mismong search function ng website mo?
Hmmm, eh ano naman yung sinasabi mong "location, skills, at iba pa"? Mga web page din?Yung mismong search function.
Yes. SEO. The fastest way is to install an SEO plugin. And then on that particular page, configure it to show details that you want to showPossible ba ma increase yung search capability ng search engine ko sa wordpress?
Example dun sa page ko "Resume" pag mag search ako duon tanging "Resume Title" lang yung na search niya
gusto ko lang ma increase pa at ma include yung "Location, Skills at iba pa" Possible ba yun?
baka po may videotube theme kayo, penge poKung may request kayo themes from envato just drop the link here, try ko kumuha ng resources.
Baka off topic ako, just let me know lang po
Check mo sa envato kung meron tas bigay mo saken linkbaka po may videotube theme kayo, penge po
2022-05-02T08:44:12+00:00 CRITICAL syntax error, unexpected '}', expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) in /home/***/public_html/wp-content/themes/*****/framework/functions/noo-utilities.php on line 1259
if ( ! function_exists( 'noo_caroufredsel_slider' ) ) :
// function noo_caroufredsel_slider( $r, $id, $show = 'company', $max = 6 ) {
function noo_caroufredsel_slider( $r, $options = array() ) {
// Default config options.
$defaults = array(
'id' => uniqid() . '_show_slider',
'show' => 'company',
'style' => 'style-1',
'min' => 1,
'max' => 5,
'autoplay' => 'false',
'autoheight' => 'true',
'slider_speed' => '800',
'width' => 180,
'height' => 'variable',
'hidden_pagination' => 'false',
'show_navigation' => 'false',
'owl' => '',
);
$options = wp_parse_args( $options, $defaults );
if ( $options[ 'show' ] == 'testimonial' ) {
$options[ 'width' ] = 767;
}
// -- Check query
if ( $r->have_posts() ):
wp_enqueue_script( 'vendor-carousel' );
?>
<div class="featured_slider <?php echo $options['style'] ?>">
<?php if ( ! empty( $options[ 'title' ]) ): ?>
<div class="testimonial-title">
<h3><?php echo $options[ 'title' ]; ?></h3>
</div>
<?php endif;
echo '<div id="slider_' . $options[ 'id' ] . '">';
if ( $options[ 'style' ] == 'style-1' ) :
while ( $r->have_posts() ): $r->the_post();
global $post;
if ( $options[ 'show' ] == 'company' ) :
$logo_company = Noo_Company::get_company_logo( $post->ID );
echo "<div class='bg_images'><a href='" . get_permalink( $post->ID ) . "' >{$logo_company}</a></div>";
elseif ( $options[ 'show' ] == 'testimonial' ) :
$name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true );
$position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true );
$url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true );
?>
<div class="box_testimonial">
<div class="box-content">
<?php the_content(); ?>
</div>
<div class="icon"></div>
<div class="box-info">
<div class="box-info-image">
<?php echo wp_get_attachment_image($url,'thumbnail-logo');?>
</div>
<div class="box-info-entry">
<h4><?php echo $name; ?></h4>
<h5><?php echo $position ?></h5>
</div>
</div>
</div>
<?php
endif;
endwhile;
elseif ( $options[ 'style' ] == 'style-3' ) :
while ( $r->have_posts() ): $r->the_post();
global $post;
if ( $options[ 'show' ] == 'testimonial' ) :
$name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true );
$position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true );
$url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true );
?>
<div class="box_testimonial_single2">
<div class="box-info">
<div class="box-info-image">
<?php echo wp_get_attachment_image($url,'thumbnail-logo');?>
</div>
</div>
<div class="box-content">
<?php the_content(); ?>
<div class="box-info-entry">
<h4><?php echo $name;?><span><?php echo ' - '.$position ?></span></h4>
</div>
</div>
</div>
<?php
endif;
endwhile;
else :
while ( $r->have_posts() ): $r->the_post();
global $post;
if ( $options[ 'show' ] == 'testimonial' ) :
$name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true );
$position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true );
$url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true );
?>
<div class="box_testimonial_single">
<div class="box-info">
<div class="box-info-image">
<?php echo wp_get_attachment_image($url,'thumbnail-logo');?>
</div>
<div class="box-info-entry">
<h4><?php echo $name; ?></h4>
<h5><?php echo $position ?></h5>
</div>
</div>
<div class="box-content">
<?php the_content(); ?>
</div>
</div>
<?php
endif;
endwhile;
endif;
wp_reset_query();
echo '</div>
<div class="clearfix"></div>
</div>';
echo '<script type="text/javascript">
jQuery(document).ready(function ($) {
$("#slider_' . $options[ 'id' ] . '").owlCarousel({
items : ' . $options[ 'max' ] . ',
itemsDesktop : false,
itemsDesktopSmall: false,
itemsTablet: false,
itemsMobile: false,
navigation:' . $options[ 'show_navigation' ] . ',
autoPlay : ' . ($options[ 'autoplay' ] === 'true' ? $options[ 'slider_speed' ] : $options[ 'autoplay' ]) . ',
autoHeight:' . $options[ 'autoheight' ] . ',
slideSpeed : 200,
navigationText: ["", ""],
});
});
</script>';
endif;
}
endif;
Ailn po jan ang line 1259?Need help guys regarding sa error.
Eto yung error
Eto yung code.
Code:if ( ! function_exists( 'noo_caroufredsel_slider' ) ) : // function noo_caroufredsel_slider( $r, $id, $show = 'company', $max = 6 ) { function noo_caroufredsel_slider( $r, $options = array() ) { // Default config options. $defaults = array( 'id' => uniqid() . '_show_slider', 'show' => 'company', 'style' => 'style-1', 'min' => 1, 'max' => 5, 'autoplay' => 'false', 'autoheight' => 'true', 'slider_speed' => '800', 'width' => 180, 'height' => 'variable', 'hidden_pagination' => 'false', 'show_navigation' => 'false', 'owl' => '', ); $options = wp_parse_args( $options, $defaults ); if ( $options[ 'show' ] == 'testimonial' ) { $options[ 'width' ] = 767; } // -- Check query if ( $r->have_posts() ): wp_enqueue_script( 'vendor-carousel' ); ?> <div class="featured_slider <?php echo $options['style'] ?>"> <?php if ( ! empty( $options[ 'title' ]) ): ?> <div class="testimonial-title"> <h3><?php echo $options[ 'title' ]; ?></h3> </div> <?php endif; echo '<div id="slider_' . $options[ 'id' ] . '">'; if ( $options[ 'style' ] == 'style-1' ) : while ( $r->have_posts() ): $r->the_post(); global $post; if ( $options[ 'show' ] == 'company' ) : $logo_company = Noo_Company::get_company_logo( $post->ID ); echo "<div class='bg_images'><a href='" . get_permalink( $post->ID ) . "' >{$logo_company}</a></div>"; elseif ( $options[ 'show' ] == 'testimonial' ) : $name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true ); $position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true ); $url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true ); ?> <div class="box_testimonial"> <div class="box-content"> <?php the_content(); ?> </div> <div class="icon"></div> <div class="box-info"> <div class="box-info-image"> <?php echo wp_get_attachment_image($url,'thumbnail-logo');?> </div> <div class="box-info-entry"> <h4><?php echo $name; ?></h4> <h5><?php echo $position ?></h5> </div> </div> </div> <?php endif; endwhile; elseif ( $options[ 'style' ] == 'style-3' ) : while ( $r->have_posts() ): $r->the_post(); global $post; if ( $options[ 'show' ] == 'testimonial' ) : $name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true ); $position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true ); $url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true ); ?> <div class="box_testimonial_single2"> <div class="box-info"> <div class="box-info-image"> <?php echo wp_get_attachment_image($url,'thumbnail-logo');?> </div> </div> <div class="box-content"> <?php the_content(); ?> <div class="box-info-entry"> <h4><?php echo $name;?><span><?php echo ' - '.$position ?></span></h4> </div> </div> </div> <?php endif; endwhile; else : while ( $r->have_posts() ): $r->the_post(); global $post; if ( $options[ 'show' ] == 'testimonial' ) : $name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true ); $position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true ); $url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true ); ?> <div class="box_testimonial_single"> <div class="box-info"> <div class="box-info-image"> <?php echo wp_get_attachment_image($url,'thumbnail-logo');?> </div> <div class="box-info-entry"> <h4><?php echo $name; ?></h4> <h5><?php echo $position ?></h5> </div> </div> <div class="box-content"> <?php the_content(); ?> </div> </div> <?php endif; endwhile; endif; wp_reset_query(); echo '</div> <div class="clearfix"></div> </div>'; echo '<script type="text/javascript"> jQuery(document).ready(function ($) { $("#slider_' . $options[ 'id' ] . '").owlCarousel({ items : ' . $options[ 'max' ] . ', itemsDesktop : false, itemsDesktopSmall: false, itemsTablet: false, itemsMobile: false, navigation:' . $options[ 'show_navigation' ] . ', autoPlay : ' . ($options[ 'autoplay' ] === 'true' ? $options[ 'slider_speed' ] : $options[ 'autoplay' ]) . ', autoHeight:' . $options[ 'autoheight' ] . ', slideSpeed : 200, navigationText: ["", ""], }); }); </script>'; endif; } endif;
Ano kaya dahilan ng error?
Ailn po jan ang line 1259?
Php tags subukan mo isara. ?>Yung dulo na endif
Php tags subukan mo isara. ?>
<?php if ( ! function_exists( 'noo_caroufredsel_slider' ) ) :
// function noo_caroufredsel_slider( $r, $id, $show = 'company', $max = 6 ) {
function noo_caroufredsel_slider( $r, $options = array() ) {
// Default config options.
$defaults = array(
'id' => uniqid() . '_show_slider',
'show' => 'company',
'style' => 'style-1',
'min' => 1,
'max' => 5,
'autoplay' => 'false',
'autoheight' => 'true',
'slider_speed' => '800',
'width' => 180,
'height' => 'variable',
'hidden_pagination' => 'false',
'show_navigation' => 'false',
'owl' => '',
);
$options = wp_parse_args( $options, $defaults );
if ( $options[ 'show' ] == 'testimonial' ) {
$options[ 'width' ] = 767;
}
// -- Check query
if ( $r->have_posts() ):
wp_enqueue_script( 'vendor-carousel' );
?>
<div class="featured_slider <?php echo $options['style'] ?>">
<?php if ( ! empty( $options[ 'title' ]) ): ?>
<div class="testimonial-title">
<h3><?php echo $options[ 'title' ]; ?></h3>
</div>
<?php endif;
echo '<div id="slider_' . $options[ 'id' ] . '">';
if ( $options[ 'style' ] == 'style-1' ) :
while ( $r->have_posts() ): $r->the_post();
global $post;
if ( $options[ 'show' ] == 'company' ) :
$logo_company = Noo_Company::get_company_logo( $post->ID );
echo "<div class='bg_images'><a href='" . get_permalink( $post->ID ) . "' >{$logo_company}</a></div>";
elseif ( $options[ 'show' ] == 'testimonial' ) :
$name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true );
$position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true );
$url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true );
?>
<div class="box_testimonial">
<div class="box-content">
<?php the_content(); ?>
</div>
<div class="icon"></div>
<div class="box-info">
<div class="box-info-image">
<?php echo wp_get_attachment_image($url,'thumbnail-logo');?>
</div>
<div class="box-info-entry">
<h4><?php echo $name; ?></h4>
<h5><?php echo $position ?></h5>
</div>
</div>
</div>
<?php
endif;
endwhile;
elseif ( $options[ 'style' ] == 'style-3' ) :
while ( $r->have_posts() ): $r->the_post();
global $post;
if ( $options[ 'show' ] == 'testimonial' ) :
$name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true );
$position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true );
$url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true );
?>
<div class="box_testimonial_single2">
<div class="box-info">
<div class="box-info-image">
<?php echo wp_get_attachment_image($url,'thumbnail-logo');?>
</div>
</div>
<div class="box-content">
<?php the_content(); ?>
<div class="box-info-entry">
<h4><?php echo $name;?><span><?php echo ' - '.$position ?></span></h4>
</div>
</div>
</div>
<?php
endif;
endwhile;
else :
while ( $r->have_posts() ): $r->the_post();
global $post;
if ( $options[ 'show' ] == 'testimonial' ) :
$name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true );
$position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true );
$url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true );
?>
<div class="box_testimonial_single">
<div class="box-info">
<div class="box-info-image">
<?php echo wp_get_attachment_image($url,'thumbnail-logo');?>
</div>
<div class="box-info-entry">
<h4><?php echo $name; ?></h4>
<h5><?php echo $position ?></h5>
</div>
</div>
<div class="box-content">
<?php the_content(); ?>
</div>
</div>
<?php
endif;
endwhile;
endif;
wp_reset_query();
echo '</div>
<div class="clearfix"></div>
</div>';
echo '<script type="text/javascript">
jQuery(document).ready(function ($) {
$("#slider_' . $options[ 'id' ] . '").owlCarousel({
items : ' . $options[ 'max' ] . ',
itemsDesktop : false,
itemsDesktopSmall: false,
itemsTablet: false,
itemsMobile: false,
navigation:' . $options[ 'show_navigation' ] . ',
autoPlay : ' . ($options[ 'autoplay' ] === 'true' ? $options[ 'slider_speed' ] : $options[ 'autoplay' ]) . ',
autoHeight:' . $options[ 'autoheight' ] . ',
slideSpeed : 200,
navigationText: ["", ""],
});
});
</script>';
endif;
}
endif;
PHP:<?php if ( ! function_exists( 'noo_caroufredsel_slider' ) ) : // function noo_caroufredsel_slider( $r, $id, $show = 'company', $max = 6 ) { function noo_caroufredsel_slider( $r, $options = array() ) { // Default config options. $defaults = array( 'id' => uniqid() . '_show_slider', 'show' => 'company', 'style' => 'style-1', 'min' => 1, 'max' => 5, 'autoplay' => 'false', 'autoheight' => 'true', 'slider_speed' => '800', 'width' => 180, 'height' => 'variable', 'hidden_pagination' => 'false', 'show_navigation' => 'false', 'owl' => '', ); $options = wp_parse_args( $options, $defaults ); if ( $options[ 'show' ] == 'testimonial' ) { $options[ 'width' ] = 767; } // -- Check query if ( $r->have_posts() ): wp_enqueue_script( 'vendor-carousel' ); ?> <div class="featured_slider <?php echo $options['style'] ?>"> <?php if ( ! empty( $options[ 'title' ]) ): ?> <div class="testimonial-title"> <h3><?php echo $options[ 'title' ]; ?></h3> </div> <?php endif; echo '<div id="slider_' . $options[ 'id' ] . '">'; if ( $options[ 'style' ] == 'style-1' ) : while ( $r->have_posts() ): $r->the_post(); global $post; if ( $options[ 'show' ] == 'company' ) : $logo_company = Noo_Company::get_company_logo( $post->ID ); echo "<div class='bg_images'><a href='" . get_permalink( $post->ID ) . "' >{$logo_company}</a></div>"; elseif ( $options[ 'show' ] == 'testimonial' ) : $name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true ); $position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true ); $url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true ); ?> <div class="box_testimonial"> <div class="box-content"> <?php the_content(); ?> </div> <div class="icon"></div> <div class="box-info"> <div class="box-info-image"> <?php echo wp_get_attachment_image($url,'thumbnail-logo');?> </div> <div class="box-info-entry"> <h4><?php echo $name; ?></h4> <h5><?php echo $position ?></h5> </div> </div> </div> <?php endif; endwhile; elseif ( $options[ 'style' ] == 'style-3' ) : while ( $r->have_posts() ): $r->the_post(); global $post; if ( $options[ 'show' ] == 'testimonial' ) : $name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true ); $position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true ); $url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true ); ?> <div class="box_testimonial_single2"> <div class="box-info"> <div class="box-info-image"> <?php echo wp_get_attachment_image($url,'thumbnail-logo');?> </div> </div> <div class="box-content"> <?php the_content(); ?> <div class="box-info-entry"> <h4><?php echo $name;?><span><?php echo ' - '.$position ?></span></h4> </div> </div> </div> <?php endif; endwhile; else : while ( $r->have_posts() ): $r->the_post(); global $post; if ( $options[ 'show' ] == 'testimonial' ) : $name = get_post_meta( get_the_ID(), '_noo_wp_post_name', true ); $position = get_post_meta( get_the_ID(), '_noo_wp_post_position', true ); $url = get_post_meta( get_the_ID(), '_noo_wp_post_image', true ); ?> <div class="box_testimonial_single"> <div class="box-info"> <div class="box-info-image"> <?php echo wp_get_attachment_image($url,'thumbnail-logo');?> </div> <div class="box-info-entry"> <h4><?php echo $name; ?></h4> <h5><?php echo $position ?></h5> </div> </div> <div class="box-content"> <?php the_content(); ?> </div> </div> <?php endif; endwhile; endif; wp_reset_query(); echo '</div> <div class="clearfix"></div> </div>'; echo '<script type="text/javascript"> jQuery(document).ready(function ($) { $("#slider_' . $options[ 'id' ] . '").owlCarousel({ items : ' . $options[ 'max' ] . ', itemsDesktop : false, itemsDesktopSmall: false, itemsTablet: false, itemsMobile: false, navigation:' . $options[ 'show_navigation' ] . ', autoPlay : ' . ($options[ 'autoplay' ] === 'true' ? $options[ 'slider_speed' ] : $options[ 'autoplay' ]) . ', autoHeight:' . $options[ 'autoheight' ] . ', slideSpeed : 200, navigationText: ["", ""], }); }); </script>'; endif; } endif;
pwede mo po bang ma upload ang php file na to? parang may kulang kasi, subokan ko lang i debug, kinalwang na eh.