Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter djmorigeau

    (@djmorigeau)

    That’s funny. Having a bad day?

    You should always work in the child theme if you have this ability. If you do not have a child theme you should create one and copy the file that you are trying to edit into the child theme folder. You should also always make a copy of your site just in case something goes wrong and you don’t remember how to go back. What theme are you using?

    I can’t be 100% sure that either one of the examples I have given you are what is being used to display the date because I can not see inside your theme. Whatever is displaying the date is what needs to be removed. If it is not obvious I wouldn’t recommend deleting the unknown, however, if you need to do it yourself make a backup copy of your site and work on it locally.

    Locate the theme file that processes your single page(s) such as single.php and find the php function that is processing the date and search the HTML and PHP for it. It may look like either of the functions below:

    <?php the_date( $format, $before, $after, $echo ); ?> 
    
    <?php echo get_the_date(); ?>

    Really depends on what your theme is using to call the date, but this should help.

    From the plugin developer:

    1. Open wp-content/plugins Folder
    2. Put: Folder: wp-postviews
    3. Activate WP-PostViews Plugin
    4. Go to WP-Admin -> Settings -> PostViews to configure the plugin.

    Usage

    1. Open wp-content/themes/<YOUR THEME NAME>/index.php
    2. You may place it in archive.php, single.php, post.php or page.php also.
    3. Find: <?php while (have_posts()) : the_post(); ?>
    4. Add Anywhere Below It (The Place You Want The Views To Show): <?php if(function_exists(‘the_views’)) { the_views(); } ?>

    Did you create a local folder for BackWPup? When I back up my site using BackWPup I save to a local folder. If you did, your backup should be somewhere on your computer. Also, if you have not customized your functions.php file you could just download another copy of this file for the theme that you are using and replace the broken one.

    Have you customized the theme at all? If you are calling the_content(); or the_excerpt(); anywhere in you theme twice this may be the root of the problem. However, it is hard to tell with such a little amount of information.

    Yes, that is correct. You could build a PHP file to process your form fields and call the PHP file from your form from within WordPress.

    Example:

    <form name="wpform" action="formprocessor.php" method="get">
    Username: <input type="text" name="user">
    <input type="submit" value="Submit">
    </form>

    in the example above formprocessor.php could be placed in your WordPress theme files and then called from the form that you have built into your page.

    Or you could use a plugin to build your form such as Ninja Forms (https://ninjaforms.com/). There are many other form building plugins for WordPress if you search for them, if you choose not to build your own.

    Thread Starter djmorigeau

    (@djmorigeau)

    Solved

    Thread Starter djmorigeau

    (@djmorigeau)

    I figured out what I was missing. I needed to add_theme_support(‘post_formats’, array(‘post format names’)) to my functions.php. The theme I was using was using a custom way of selecting different post types. This was the reason that the loop was not recognizing any of my post format templates.

Viewing 9 replies - 1 through 9 (of 9 total)