Thor Brink
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Shortcode being displayedCould you paste the code that handles the shortcode?
Forum: Fixing WordPress
In reply to: Can't find the home page fileThe index.php in your wordpress root folder is the one executing WordPress, but that is not where you should be editing.
The file that is commonly acting as the ‘home page template’ is the index.php in your activated themes folder under ‘wp-content/themes/activated_theme_name’ (activated_theme_name is just to show you the path, it’s not the actual name).
More on how WordPress themes work is found in the Codex.Forum: Fixing WordPress
In reply to: Shortcode being displayedThe first thing that comes to mind is that there is no code handling the shortcode. Is there a plugin that might have been deactivated?
Forum: Fixing WordPress
In reply to: Exclude a category in home page latest postsYou need to add the “cat” attribute to the query_posts argument array.
The updated could should be:<ul> <?php query_posts(array('showposts' => 2, 'order' => 'dec', 'cat' => -4 )); while (have_posts()) { the_post(); ?> <li class="date"><?php the_time('F j, Y'); ?></li> <li class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php } ?> </ul>
The ‘-4’ means that the category with an ID of ‘4’ should be excluded.
More on this can be found in the WordPress Codex.Forum: Fixing WordPress
In reply to: Deactivate archive for specific custom taxonomyHi.
When registering post-types there is a parameter which is called ‘has_archive’.
Set this to false to prevent archives from being enabled.
For more details on registering post-types: WordPress CodexForum: Themes and Templates
In reply to: What is a 404 error? I have one and don't know what it means.404 is a HTTP error code which means that the requested page doesn’t exist or can’t be found.
A similar issue seems to be reported here: https://www.ads-software.com/support/topic/all-pages-lead-to-404-error?replies=16
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Use a jpeg as submit button?Hi.
Try this:- Target the submit button in css
- remove border
- insert image as background
- set display:block
- set width & height to the size of the image
You could either try to override the css rules of contact form 7 from your template stylesheet or edit the stylesheet in the contact form 7 folder.
Forum: Themes and Templates
In reply to: Not showing content on pagesWill you get it to show anything? Except for the title of the post? Will it enter the loop? I can see that you are missing an argument which can be good to have in the if-statement of the loop. “if ( have_posts() && is_single() )”. This makes sure that you have a single post fetched from the query.
Forum: Themes and Templates
In reply to: Not showing content on pagesSorry, I guess you have to paste source code in the pastebin for it to show up.
Forum: Themes and Templates
In reply to: Not showing content on pagesHi.
Source code of the template page which is used when the problem is occuring would be helpful.