Symbianize Forum

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!

WORDPRESS WEB DEVELOPMENT

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?
 
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?

Yung mismong search function.
 
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?
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 show
Please note that it is not enough to simply install and activate the SEO plugin, you need to customize it.

Also, make sure to configure your posts excerpts, etc.
Pwede mo ring i-consider young Rich Snippets or Schema pero this is more on optimizing SEO na.
 
Ano mga recommended plugins niyo pampabilis or for security purpose sa Wordpress? Yung main site na hinahandle ko kasi is based on Wordpress. Naka Litespeed based.
 
Need help guys regarding sa error.

Eto yung error
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

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?
 
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?
 
Parang wala po sa code na yan ang error. Ndi kaya dun sa sinundan nya? Baka may ndi na close na elseif statement?
 
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.
 
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.

Okay na Bro. PHP version yung problem. nag try ako gumamit ng lower version ng PHP walang error.
 
madali lang WP specially kung front end dev ka mostly css nlang aaralin mo. pero sa backend PHP
 
Back
Top Bottom