gidd
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Trying to get widgets displayed in my custom theme…You have problem with the footer but I don’t see the footer at your preview site. It is hard to answer without seeing footer.
Forum: Themes and Templates
In reply to: [GlossyRed] Wpautop causing excessive white space!Try to put this code into your
style.css
:body #content{ width: 660px; float: left; }
Forum: Fixing WordPress
In reply to: Photogram help! A few issues!Hello Kat,
It is nice to see your listing here. It is one of the themes that I list in my blog as well. Here are your solutions:
1. Reverse background color and font
Add this code to yourstyle.css
:
.main-container{ background: #151515; }
body{ font-family: "Vegur",sans-serif; }
2. For the number of gallery, you might be able to change it at Reading section under Setting tab inside your WordPress admin. Otherwise, check your theme admin options to see if it has.
3. There are many factors that affect performance. It can be server, theme, graphic etc.
Forum: Fixing WordPress
In reply to: Showing More Posts When Using CategoriesYou can set the number of posts in WP-Admin. It is at Reading section under Setting tab.
Perhaps, you can try to switch to the default WordPress theme and disable all the plugins to see if your WordPress installation is working properly.
Forum: Themes and Templates
In reply to: How to get "previous page" (It doesn't exist)Is it an archive page? or a blog post page? or a custom page that you create?
Working with custom navigation on WordPress has a few ways based on the template file that you put it.
If it is an archive page, you shouldn’t write
query_posts();
Just change it in the reading section under the Setting tab.If it is a custom page or you need a custom loop that you can do the query as you like, you need to handle navigation by yourself.
Checkout this link, it will help you to work with custom pagination.
https://weblogtoolscollection.com/archives/2008/04/19/paging-and-custom-wordpress-loops/Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.Yes, just cut it out and put it in a plain text file in your local computer.
Forum: Fixing WordPress
In reply to: Changed the functions.php and now my blog is blank.You can just try to remove the code block that you changed inside functions.php to see if it comes back. Then ask for another support to add a sidebar.
The url for gallery can be a problem with your gallery plugin, or you can try another url such as https://www.brianstinehart.com/photo-gallery
Forum: Fixing WordPress
In reply to: All images are NOT loading??I found that you embed the images directly into html. It can cause the problem. I think you can try to insert images using WordPress admin.
For more info, visit the following links:
https://codex.www.ads-software.com/Inserting_Images_into_Posts_and_Pages
https://davidbcalhoun.com/2011/when-to-base64-encode-images-and-when-not-toForum: Fixing WordPress
In reply to: Awkward spacing in between paragraphsYou can try this code. Just put it in your
style.css
:body .single_article_content p{ margin-bottom: 15px; }
Forum: Fixing WordPress
In reply to: Hacked and Some QuestionsI know this is a serious problem. I set up a lot of WordPress sites for my clients and rarely face this issue. Usually, I change the default prefix (wp_) to something more specific during the installation. Because it opens to many kinds of attacks.
Combined with good hosting and updated WordPrss version, I can stay away from it.
Forum: Fixing WordPress
In reply to: admin bar is blocking my hearderDisable it in your user profile, work only for you. The other users still see it. You can disable it for other users by adding this to your functions.php:
show_admin_bar(false);
However, if you don’t want to hide it, you can add this code to your functions.php:
add_action('wp_head', 'fix_admin_bar'); function fix_admin_bar(){ ?> <script type="text/javascript"> var $ = jQuery.noConflict(); $(document).ready(function(){ if ( $('#wpadminbar').length ) $('body').css('padding-top', '28px'); }); </script> <?php }
Forum: Themes and Templates
In reply to: [Leaf] Titles on slider being truncatedMight be you can try to change other variable and reset your previous change.
You can try to change:
position:"relative",width:j
toposition:"relative",width:j + 25
I found this on line 33 in the iview.min.js.
Forum: Themes and Templates
In reply to: Display only the value from the Custom FieldI think
get_post_meta();
does what you want. You might not call it properly. Here is an example:
echo get_post_meta( get_the_ID(), 'your_key', true );