Forum Replies Created

Viewing 15 replies - 226 through 240 (of 257 total)
  • Glad it worked! I know, isn’t it crazy how one tiny, obscure error can cause so much havoc?

    Here is the logic behind that error. When WordPress saw this:

    Description: Steninge-template: minimalistic template in four colors with one coloum and vertical expanding menu

    WordPress read it as:

    Description: Steninge-
    Template: minimalistic template in four colors with one column and vertical expanding menu

    So WordPress thought, oh, ok this is a child theme, whose parent theme is “minimalistic template in four colors with one column and vertical expanding menu”. But there was never any theme with that name, so it threw you that template is missing error.

    I have no idea why it worked fine when you placed it in another folder, however.

    But I’m glad it’s working, after all that time of finding a solution!

    Well I knew because I had done this before. But yes, every design element on the page is controlled by some CSS selector. If you are using Firefox, I recommend that you download the Firebug extension. After you install it, you’ll be able to right-click on anything on a website and choose “inspect element”. Firebug will show you the CSS selector(s) that control it. You can then go to your CSS file and edit the selector or selectors.

    Download Firebug: https://getfirebug.com/

    The Chrome browser already has this functionality built-in as well.

    I also suggest the Web Developer Toolbar for Firefox or Chrome which adds some other useful features for web designers: https://chrispederick.com/work/web-developer/

    Finally, W3 Schools is a good site that has some tutorials on CSS with interactive examples: https://www.w3schools.com/css/, including tutorials on IDs & classes (the # and .), colors and fonts.

    First, backup the file (save a copy on your local computer somewhere). That way if you mess it up, you’ll have the back-up to fall back on.

    Next, you can just comment out that existing line by putting a “#” in front of it. Then copy and paste this code:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    # END WordPress
    Thread Starter Michelle Langston

    (@chellycat)

    Thanks for your help. I added that code and I got this error:

    The page isn’t redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    * This problem can sometimes be caused by disabling or refusing to accept
    cookies.

    This is the code I have in my wp-config:

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.pondersphere.com' );
    define( 'NOBLOGREDIRECT', 'www.pondersphere.com');
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    You could install a local copy of WordPress on your own computer. If you’re running Windows, you can use WAMP – https://www.wampserver.com/en/

    If you’re running a Mac, you can use MAMP – https://www.mamp.info/

    Once you get either WAMP or MAMP setup, you can install WordPress, import some test posts (https://thinkdesignblog.com/wordpress-lorem-ipsum-test-post-pack.htm), and develop your theme. When it’s ready, just upload the theme to your live site. Voila!

    Looks like those links are pointing to pages that don’t exist on your WordPress installation.

    You should first create some pages called “CONTACT US” and “FAQ”. Then you need to go to “Pages” in your Dashboard and roll-over the titles of those new pages you just made. Look at the URL in the status bar at the bottom of your browser and get the ID number of those pages. Then edit your theme’s header.php or sidebar.php (whichever one of those files contains the menu code) to change the links to point to the new pages you made.

    That is weird. It’s treating your theme like a broken Child theme, when I assume that you mean for it to be its own theme.

    But I think I have found the source of your problem, and it’s VERY subtle.

    In your Description in the CSS, you have this:

    Description: Steninge-template: minimalistic template in four colors with one coloum and vertical expanding menu

    This is a colon after the words “Steninge-template.” Delete that colon. (If I were you, I would just delete the words “Steninge-temmplate:” and have the description start from “Minimalistic template…”) and then put the theme in your own folder. See if it works. I think WordPress is choking on that extra colon.

    If it doesn’t work, let me know and we can try something else.

    Forum: Fixing WordPress
    In reply to: Changing Gravatar

    You have to go to https://www.gravatar.com to change your gravatar image.

    You might need a custom plugin or code for that. WordPress does not have that feature by default.

    You can’t edit .htaccess in the WordPress Dashboard as far as I know. You need to access your WordPress installation in an FTP client. When you are in the root of your WordPress installation in your FTP program, you need to go to the main menu of that program and select “Show hidden files” or “Show all files”, depending on that program.

    Hey, Tannin and welcome to the world of WordPress! ?? Well, I would save a backup of your style.css file before editing it. You can do that with FTP.

    Next, to edit your style.css, in the Dashboard find the “appearance” menu on the left. Click on the “Editor” link within that menu.

    When the editor loads, you will will need to make sure you are editing the Twenty-ten theme (check the drop-down menu at the top right to verify).

    Next, you’ll see a list of files on the right, scroll down until you see “Stylesheet (style.css)”. Click it.

    When that stylehseet loads in the editor, you will need to find the FONTs section in the styleshet. The code looks like this:

    /* =Fonts
    -------------------------------------------------------------- */
    body,
    input,
    textarea,
    .page-title span,
    .pingback a.url {
    	font-family: Georgia, "Bitstream Charter", serif;
    }
    
    h3#comments-title,
    h3#reply-title,
    #access .menu,
    #access div.menu ul,
    #cancel-comment-reply-link,
    .form-allowed-tags,
    #site-info,
    #site-title,
    #wp-calendar,
    .comment-meta,
    .comment-body tr th,
    .comment-body thead th,
    .entry-content label,
    .entry-content tr th,
    .entry-content thead th,
    .entry-meta,
    .entry-title,
    .entry-utility,
    #respond label,
    .navigation,
    .page-title,
    .pingback p,
    .reply,
    .widget-title,
    .wp-caption-text,
    input[type=submit]
    {
    	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    }
    pre {
    	font-family: "Courier 10 Pitch", Courier, monospace;
    }
    code {
    	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    }

    You will need to override the default by declaring a different font value for the site title. Looking at the code, the site title is controlled by the rule: #site-title and #site-info (#site-info is the tagline, the “just another wordpress site” text).

    So go ahead and delete those from the list.

    Then, at the bottom of the FONTS section in the stylesheet, type the following:

    `#site-title: {font-family: Arial, Helvetica, sans-serif;}
    #site-info: {font-family: Arial, Helvetica, sans-serif;}’

    Of course, change the “Arial, Helvetica…etc” part to whatever font you want to use.

    Good luck and let me know if you have any further questions working with this.

    Ideally you should be making these changes in a Child Theme, but since you are just getting started, this would be the easiest way.

    Yes, there is a way to prevent this from happening. You will need to rewrite the loops slightly. The loop must collect the IDs of posts that have already showed up and store them in an array. Then, each subsequent loop must check the array to see if a post ID has been stored already. Here is the Codex’s page on this: https://codex.www.ads-software.com/The_Loop#Multiple_Loops (there’s a section there that explains how to avoid duplicate posts).

    Replace this code:

    <?php $tmp=(is_single() || is_page())? "div":"h1";?>
    <<?php echo $tmp;?> id="blog title">"><?php bloginfo('name'); ?></<?php echo $tmp;?>>
    <h2><?php bloginfo('description'); ?></h2>

    With the code chinmoy gave you.

    #content p affects ALL paragraph tags inside the ENTIRE #content div.

    .entry-content p only affects paragraph tags within the .entry-content div, which is the div that wraps around each single post in the loop.

    Forum: Themes and Templates
    In reply to: Site Title

    You can use your own more creative fonts using @fontface. Check out https://www.fontsquirrel.com, maybe your mom can find something she likes. Then you can use that font as the font for the site title, without needing an image. You can edit it via the CSS.

    It depends on your theme as to how the site title is coded, but yes, most themes put the title in header.php.

Viewing 15 replies - 226 through 240 (of 257 total)