Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 25
» Latest member: Roberthah
» Forum threads: 32
» Forum posts: 60

Full Statistics

Online Users
There are currently 2 online users.
» 0 Member(s) | 2 Guest(s)

Latest Threads
PHP Fatal error: Call to ...
Forum: PHP
Last Post: Jackpro
05-04-2020, 09:07 PM
» Replies: 1
» Views: 344
WordPress Page Builder is...
Forum: WordPress Page Builders
Last Post: wason32
05-04-2020, 08:38 PM
» Replies: 1
» Views: 335
Wordpress development pro...
Forum: General WordPress Development
Last Post: prodeveloper
05-04-2020, 08:36 PM
» Replies: 1
» Views: 323
WordPress Plugin Developm...
Forum: WordPress Plugin Development
Last Post: prodeveloper
05-04-2020, 08:35 PM
» Replies: 1
» Views: 321
social media traffic
Forum: Social Media
Last Post: prodeveloper
05-04-2020, 08:33 PM
» Replies: 1
» Views: 392
PushState and SEO
Forum: SEO
Last Post: healy56
05-04-2020, 08:29 PM
» Replies: 1
» Views: 307
Get WooCommerce product c...
Forum: WooCommerce
Last Post: healy56
05-04-2020, 08:27 PM
» Replies: 1
» Views: 307
How to Remove Google Add ...
Forum: Google Ads
Last Post: chris21
05-04-2020, 07:57 PM
» Replies: 1
» Views: 297
growing business through ...
Forum: Social Media
Last Post: xxzachalxx
05-04-2020, 07:34 PM
» Replies: 1
» Views: 279
Replacing H1 text with a ...
Forum: SEO
Last Post: xxzachalxx
05-04-2020, 07:33 PM
» Replies: 1
» Views: 300

  social media traffic
Posted by: healy56 - 05-04-2020, 08:03 PM - Forum: Social Media - Replies (1)

I created a new web site based on fashion trends and clothing.
my main aim was to make some quick bugs as the site grows.
The site has been made from quite a time but i have not find  good traffic.
 i have a good social media following and i thought it can help me promote my site
what is the best way to increase social media traffic to my site.
any help shall be real kind

  WordPress Page Builder is duplicating Divs
Posted by: chris21 - 05-04-2020, 08:02 PM - Forum: WordPress Page Builders - Replies (1)

It's been a while since I've been here but again, I need some help big time with a very annoying issue.
I've installed a Theme on WordPress, which is awesome but the problem lies with the Page Builder as it's starting to duplicate a Div inside the original Div. Example just below:

<div class="sub-title">
<div class="sub-title">
<div class="sub-title">
<h4 style="text-align: center;"><span style="color: #c0c0c0;">WEBSITE DESIGN </span></h4>
<p style="text-align: center;"><span style="color: #808080;">So you already know we're a creative design agency, but here is info on where we've come from and where we are heading</span></p>
So using the Page Builder, I add elements which form the design and layout, text blocks and etc. I save, but then as soon as I add another element and save that one, it's already duplicated the Div, and repeats the action again for another element too. Therefore, every time something is added, it will duplicate the Div.
The Div already has specified padding, so another duplicate of that Div inside, is just bulking up the padding lots, causing the layout to be super thin!
I think the problem lies in shortcodes.php but I've seen some people using PHP code in functions.php. I don't know what to do as my knowledge is limited.
Please help me out!

  Wordpress development process
Posted by: C.RONALDO - 05-04-2020, 07:49 PM - Forum: General WordPress Development - Replies (1)

I want to design a wordpress development process like in following picture:

First I want to create a bitbucket repository for my Wordpress site. From this repository all our software developers should able to clone the site to their local machines for developing. For developing all developers should have one local database to test changes.
After a developer finished a task he should be able to push his changes to the repo. When a sprint is done I want to send all changes from the repo with Jenkins pipeline/job to the test environment. At this environment a tester should be able to test all new functions with a cloned database from the prod system (including the dev changes).
When all tests are successfully done I want be able to apply the database changes to the prod system (with a SQL script) and send all changes with an other Jekins pipeline/job to the prod system.
Do you think this can work? Whats with plugin updates? Can I setup environment variables for each system so the plugin updates can be just done on the dev machine?
I'm not sure if this could work because a plugin or plugin update creates a lot of new database changes and I think I need a tool who can display all changes like Sourcetree for git.
Is there someone who has expert knowledge with wordpress and this kind of development process and can share his experience with me?
Or do you think this process is not working with wordpress? If this is true it would be realy bad because I need a process like this.
Thanks a lot!

  PushState and SEO
Posted by: kevin21 - 05-04-2020, 07:46 PM - Forum: SEO - Replies (1)

Many people have been saying, use pushState rather than hashbang.

What I don't understand is, how would you be search-engine friendly without using hashbang?
Presumably your pushState content is generated by client-side JavaScript code.
The scenario is thusly:
I'm on  example.com
My user clicks a link: href="example.com/blog"
pushState captures the click, updates the URL, grabs a JSON file from somewhere, and creates the listing of blog posts in the content area.
With hashbangs, google knows to go to the escaped_fragment URL to get their static content.
With pushState, Google just sees nothing as it can't use the JavaScript code to load the JSON and subsequently create the template.
The only way to do it I can see is to render the template on the server side, but that completely negates the benefits of pushing the application layer to the client.
So am I getting this right, pushState is not SEO friendly for client-side applications at all?

  Get WooCommerce product categories from WordPress
Posted by: alpha12 - 05-04-2020, 07:43 PM - Forum: WooCommerce - Replies (1)

I am trying to get the product categories from WooCommerce through a function in my WordPress theme

    function get_me_list_of($atts, $content = null)
        $args = array( 'post_type' => 'product', 'posts_per_page' => 10, 'product_cat' => $atts[0]);

        $loop = new WP_Query( $args );

        echo '<h1 class="upp">Style '.$atts[0].'</h1>';
        echo "<ul class='mylisting'>";
        while ( $loop->have_posts() ) : $loop->the_post();
        global $product;

        echo '<li><a href="'.get_permalink().'">'.get_the_post_thumbnail($loop->post->ID, 'thumbnail').'</a></li>';
     echo '<li><a href="'.get_permalink().'">'.$loop->post->post_title.'</a></li>';

echo '<li><a href="">'.get_categories().'</a></li>';

        echo "</ul>";




The above code returns some products, but the product categories.
When I included 

echo '<li><a href="">'.get_categories().'</a></li>';
 in the code above it returns as an array. How do I fix this?
How do i change this to get the product categories from WooCommerce?

  PHP Fatal error: Call to a member function bind_param()
Posted by: kevin21 - 05-04-2020, 07:37 PM - Forum: PHP - Replies (1)

I've been stuck on this error , please help me this is my code PHP Fatal error: Call to a member function bind_param()

$statement= $db->prepare("insert into uploaddetails(idnum,title,desc,author,tags,title) values(?,?,?,?,?,?)");

     $file= basename($_FILES["fileToUpload"]["name"]);

    $statement->bind_param( 'isssss', $id,$title, $description,$author,$tags,$file);


  WordPress Plugin Development - How to use JQuery / JavaScript?
Posted by: xxzachalxx - 05-04-2020, 07:28 PM - Forum: WordPress Plugin Development - Replies (1)

Just started developing a plugin for WordPress, wanted to use some JQuery in the Plugin Admin interface.

How do I properly include and call JQuery?
For instance, on a normal HTML page I would just include the JQuery library, then call this script:
    alert('Hello World!');
How can I do this in a WordPress Plugin PHP file?
please help me

  How to Remove Google Add when I add Google Custom Search Eng
Posted by: kevin21 - 05-04-2020, 07:27 PM - Forum: Google Ads - Replies (1)

I have query related to Google Custom Search Eng

I have added Google Custom Search Eng to my website..when i search for things its display result well.But its also comes with Some add..
I dont wana this Google add ! (I dont go with payment option )
Let me know if is there any way !
please see the bellow image! 
Kindly upload image it will be helpful to understand.

  growing business through social media
Posted by: C.RONALDO - 05-04-2020, 07:07 PM - Forum: Social Media - Replies (1)

i have started a restaurant in my city, opposite to a big hotel
i know it would be unrealistic to most of the customers coming to me
but things has been even worse, i have failed to bring small amounts of customers 
to the business that results in losses for me. I believe a good social media 
campaign can help me a-lot in bringing customers to the business.
what is the most effective way to grow my business using social media?

  Replacing H1 text with a logo image: best method for SEO and accessibility?
Posted by: C.RONALDO - 05-04-2020, 07:03 PM - Forum: SEO - Replies (1)

It seems like there are a few different techniques out there, so I was hoping to get a "definitive" answer on this...
On a website, it's common practice to create a logo that links to the homepage. I want to do the same, while best optimizing for search engines, screen readers, IE 6+, and browsers who have disabled CSS and/or images.
Example 1; Doesn't use an h1 tag. Not as good for SEO, right?

<div id="logo">
    <a href="">
        <img src="logo.png" alt="Stack Overflow" />

Example 2; Found this somewhere. The CSS seems a little hacky.

<h1 id="logo">
    <a href="">Stack Overflow</a>

/* css */
#logo {
    padding: 70px 0 0 0;
    overflow: hidden;
    background-image: url("logo.png");
    background-repeat: no-repeat;
    height: 0px !important;
    height /**/:70px;

Example 3; Same HTML, different approach using text-indent. This is the "Phark" approach to image replacement.

<h1 id="logo">
    <a href="">Stack Overflow</a>

/* css */
#logo {
    background: transparent url("logo.png") no-repeat scroll 0% 0%;
    width: 250px;
    height: 70px;
    text-indent: -3333px;
    border: 0;
    margin: 0;

#logo a {
    display: block;
    width: 280px; /* larger than actual image? */
    height: 120px;
    text-decoration: none;
    border: 0;

Example 4;  Displays when images and/or css is turned off.

<h1 id="logo" class="logo">
    <a href="">Stack Overflow</a>

/* css */
h1.logo {
    margin-top: 15px; /* for this particular site, set this as you like */
    position: relative; /* allows child element to be placed positioned wrt this one */
    overflow:hidden; /* don’t let content leak beyond the header - not needed as height of anchor will cover whole header */
    padding: 0; /* needed to counter the reset/default styles */

h1.logo a {
    position: absolute; /* defaults to top:0, left:0 and so these can be left out */
    height: 0; /* hiding text, prevent it peaking out */
    width: 100%; /* 686px; fill the parent element */
    background-position: left top;
    background-repeat: no-repeat;

h1#logo {
    height: 60px; /* height of replacement image */

h1#logo a {
    padding-top: 60px; /* height of the replacement image */
    background-image: url("logo.png"); /* the replacement image */

What method is the best for this sort of thing? Please provide html and css in your answer.