Forum Replies Created

Viewing 15 replies - 61 through 75 (of 108 total)
  • Okay I think you need some general background knowledge more than a specific answer. Here is a tutorial that should explain the basics of child themes to you, and how you can work with the CSS, recursively search to find certain parts of the code, etc:

    https://xcartguru.com/tutorials/wordpress-tutorials/building-a-custom-wordpress-child-theme/

    If you watch that fully and pay attention, looking at your file structure of your site for refernce, then you should be able to divine for yourself where the change is needed.

    Roys, try posting this question here: https://www.ads-software.com/support/plugin/wp-pagenavi. I don’t see anything wrong with what you have done. Be sure to include code, link, and template name.

    Try to always include a link to the site so we can see the problem. Were you directed to put this code outside of the loop?

    Okay I see the problem. Actually I see ots of problems but I am just going to address this one. I made a video explanation to save my poor fingers:
    https://youtu.be/MJjIqaYVR3s

    Let me know if that helps!

    Zip the folder with all the files. Export the database. Unpack the zip in the public html folder of Mamp, create the DB, import the database.

    The CSS style is located in the <head> part of the document. I expect it is in header.php

    Try downloading the entire theme directory. Recursively search the folder for #banner using a nice text editor like Sublime text 2.

    Is it a child theme? Perhaps the code you seek is in the parent?

    I don’t know anything about that particular theme. Try downloading your theme directory and doing a recursive search for the_date() to see where it is placed, and add the_time() next to it.

    Do you have a mobile module, or is it perhaps a responsive skin?

    Please include a link when asking a question, so we can see the problem and suggest a fix.

    Those are the four that matter. Become an expert in HTML, CSS, JavaScript, and PHP. I would study them in that order.

    The first three are client side languages used for presentation and surface manipulation of data. PHP is the server side language that WP and most modern web applications are written in. It crunches the user selections and data from the client side, interacts with the database, and determines what html, css and JS to serve in response.

    The other big piece of the puzzle is the MySQL database. Other database structures exist, but this is the most popular today. A thorough understanding of how PHP interacts with a MySQL database is absolutely necessary to contribute to WP or develop code for any PHP based application. I studied and practiced for about 5 years before I started taking on client work. The good news is, you can be completely self taught thanks to the great resources on the web.

    The best way to get started, is to build yourself a site that advertises your services and learn during the process. Reading and taking tutorials helps a lot at first, but quickly you need actual real world goals to work towards. Participating on forums and answering questions is a great way to learn. Its constant real world examples of problems that users are actually having. If you can solve their problems then you will be building your skills to develop your own applications. Sometimes the issue takes a lot of investigation, delving into the code to find the answer.

    Choosing a platform like WP, Drupal, Joomla, X-cart, or Magento to use as your learning base will help you immensely. Become an expert in one or two platforms, one a CMS and the other e-commerce. Then you will have a well rounded skill set for any website building project.

    The only thing I can imagine is that the file is cached on your hard drive by your browser. Try visiting the file with another browser, or emptying your browser’s cache. I recommend just trying to visit the file in the alternate browser, I dislike clearing my cache because it loses all my goodies. ??

    If you can;t access it, then you can be sure it is gone. If you can;t see it via FTP, we can be pretty sure its not there.

    Okay, the first thing we need to do is remove this wacky img tag placed right inside the container div.

    On this page view the source: https://0002dk4.wcomhost.com/wordpress2/healthcare/
    Line #94 reads:
    <img class=”g” src=”../wp-content/themes/layout/img/footer.jpg” />

    That needs to be removed. You can see it is absolutely positioned 800px from the top. This is literally the worst site design I have ever laid eyes on. I mean it looks OK, but it’s formatting….

    Ok, I was typing while reading through the code. We can’t start with the footer, though understanding it is key to what is wrong. You are going to have to start at the header and work down. With everything positioned this way, the content above is not pushing the footer down.

    There are a block of images in the <header>, 6 of them. They are all absolutely positioned, and they make up 90% of the “content” on the site. They all need to be removed. And once they are gone, the whole site is bare.

    You can’t do this while the site is live. Or are you working on a copy? I would make a copy of the site and put it in a subdirectory. That way you can leave the site live, while you build a new theme. I am not exaggerating or kidding when I say that this theme needs to be scrapped completely. It is a useless mess. The design is fine, and you can just recreate it using CSS instead of these images. But if it were me, I would want a fresh slate, and I would tell the client that it has to be rebuilt from scratch.

    I don’t know your particular theme but have you tried using the_time()?
    https://codex.www.ads-software.com/Template_Tags/the_time

    Can you give us some specific examples of what you want to accomplish? Like I want to remove the absolute positioning from this specific div id. I don;t think there is going to be a “quickest” way. But we can help figure out the slow, plodding way. ??

    It does look like a mess, someone does not know hot to use CSS or style sheets. I’d tell them that you need to start over with the skin!

    Forum: Hacks
    In reply to: Shortcode for YouTube

    Perhaps you could try this tool:
    https://generatewp.com/shortcodes/

    In your theme you probably have a file called single.php. Copy it into your child theme and add your code there. Then it will show up on every single post page.

    For example:

    <?php /* The loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>
    
    	<?php get_template_part( 'content', get_post_format() ); ?>
              PLACE YOUR CODE HERE
    	<?php twentythirteen_post_nav(); ?>
    	<?php comments_template(); ?>
    
    <?php endwhile; ?>

Viewing 15 replies - 61 through 75 (of 108 total)