djmorigeau
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Post Type PaginationThat’s funny. Having a bad day?
Forum: Fixing WordPress
In reply to: Remove Date From Single PostYou 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.
Forum: Fixing WordPress
In reply to: Remove Date From Single PostLocate 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.
Forum: Themes and Templates
In reply to: [Forever] Add a postviews tag under the post tittleFrom the plugin developer:
- Open wp-content/plugins Folder
- Put: Folder: wp-postviews
- Activate WP-PostViews Plugin
- Go to WP-Admin -> Settings -> PostViews to configure the plugin.
Usage
- Open wp-content/themes/<YOUR THEME NAME>/index.php
- You may place it in archive.php, single.php, post.php or page.php also.
- Find: <?php while (have_posts()) : the_post(); ?>
- Add Anywhere Below It (The Place You Want The Views To Show): <?php if(function_exists(‘the_views’)) { the_views(); } ?>
Forum: Fixing WordPress
In reply to: Lost website Fatal ErrorDid 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.
Forum: Fixing WordPress
In reply to: Text Appears Twice in Blog Posts!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.
Forum: Fixing WordPress
In reply to: I have a page with an HTML form. How do I process it with PHP?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.
Forum: Fixing WordPress
In reply to: All Posts Coming from content.phpSolved
Forum: Fixing WordPress
In reply to: All Posts Coming from content.phpI 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.