SidneySch
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [F2] Adding Analytics Code to New F2 ThemeI’m back. It turned out that clearing browser cache, which I did but apparently it didn’t take the first couple times (?) fixed the problem. I did put the asynchronous Google analytics tracking code in header.php in the child theme right before the closing head tag, per Google’s instructions. Finally when I looked at the page source it was there. Yea! Clear that browser cache, cookies, and anything else you can clear … at least once!
Though reading how so many folks’ hosts didn’t want to help, I gave up late last night and sent in a support ticket. When I woke up they’d already responded with the fix: a resolver configuration issue on the server. If you’re getting some of my symptoms above, its almost definitely a server issue. Cheers.
Same problem on 2 blogs, both in subdirectories. (No problem on 3rd blog, same host, diff server.) Tho I get API error, if I go to blog I can click “Site Admin” and get in … slowly. But I can’t get out: 1) Under WP News, says: “RSS Error: WP HTTP Error: name lookup timed out”. And Dashboard, says: “Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in …path…/wp-admin/includes/plugin-install.php on line 77” I just tried to update plugin and got same warning on update.php on line 295. I’ve spent days looking up all these error codes. One blog only 2 plugins: Sucuri & Akismet. Positive it is not anything I did. Both at WP 4.0. Are errors related? Any idea what to advise the host to check on server? Thanks!
Forum: Themes and Templates
In reply to: [F2] Change date format in latest F2 themeThank you for your reply, SriniG. I do have a child theme setup in directory F2-Custom with my CSS file in it. I tried changing the date via CSS, but couldn’t get anything to work. Can you tell me how to do this in CSS? Or are you suggesting that I put my customized copy of templates-tag.php in the F2-Custom directory? How does that work? (PS: great theme!)
Forum: Themes and Templates
In reply to: [F2] Change date format in latest F2 themeA few more things:
First, the file name is template-tags.php (tags not tag)Second, the file is in the “inc” folder inside the “F2” directory. I edited the file in Notepad and uploaded the changed file.
If you don’t care about keeping a pure version of template-tags.php around … it IS a file for custom tags … then just go to the dashboard, click Appearance | Editor, find that file under F2, and change the line above. The only part you are changing is inside the parentheses (the F j Y, etc.) Then click Update File.
I still think you should at least copy and paste the original line somewhere though just in case!
Forum: Themes and Templates
In reply to: [F2] Change date format in latest F2 themeWow. It seems like finally going through the effort to ask the question gave me some good luck or something. I just found it! I had to modify the template-tag.php file. Here is what I did:
I made a copy of template-tag.php and called it template-tag-original.php. Then I edited template-tag.php. I search for the word date and stopped on the fifth occurence. Three lines below the word the line talks about date. I modified that line (with my comment) to read:
get_the_time(__(‘F j, Y, g:i a’, ‘f2’)) /* I chg’d date here */
Now the date is displaying correctly. (PS: There is a WP tutorial on how to format dates.) I still don’t know why the Settings for date format don’t work in the F2 theme, but maybe this will help someone else. Cheers.