lgh529
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can't access commentsThanks for your effort, but I already did that. No problem/solution fits what I described above on any google search or search on this forum.
Forum: Themes and Templates
In reply to: calling more then one sidebarsThere is no such function as get_sidebar2(), you have to call get_sidebar with a name.
For example, if I had a file in my theme called sidebar-special.php, then I would load that sidebar like this: get_sidebar(“special”);
Do a search on that function in the docs and it will probably help
Forum: Themes and Templates
In reply to: WPCandy ThemeThey have their own theme that they designed. Unless you recognize the theme elements, there is no way to know if they based it on someone else’s theme or not, but most reputable sites credit any design work to the designer in the footer. One way to find out if someone is using a particular theme is to view the page source and look at the path of the stylesheet. For example, wpcandy.com has the following line:
<link rel="stylesheet" href="https://wpcandy.com/wp-content/themes/wpcandy3/style.css" type="text/css" media="screen" />
The theme name they are using is ‘wpcandy3’. Many advanced sites use their own themes that aren’t published for anyone else to use. wpcandy.com is one good example of such a site.
When I design themes for private use, I never base it on someone else’s theme. I always design the theme from scratch. I would suspect that wpcandy.com is the same.
Forum: Themes and Templates
In reply to: How to replace blog title with logoI haven’t looked at your theme, but in the header.php file there will be call to bloginfo(‘name’). That is what prints out the blog title text. It should be wrapped in an ‘a’ tag that calls bloginfo(‘url’). You would probably take out the following: <?php bloginfo(‘name’); >? and replace it with <img src=”path_to_image” title=”the_title”>. You will probably not want to take out the call for the url, unless you don’t want it to be a link.
The date and category appear for me, so I don’t understand what you think is wrong. Normally, you wouldn’t list the number of comments at the top of a post, because the comments are shown on that page. That is only for the main page when more that one post is shown.
Also, it doesn’t matter where the Edit link is because only you see that, no one else does. So it is for your benefit only.
If you need to edit the file, then for single posts, you’ll have to look at single.php and possibly comments.php. Look for the functions that get that data, i.e.: the_date(), the_author(), the_category(), etc. If you want them moved, the move them where you want.
You have to edit the index.php (and all similar files that show posts like single.php, etc). In the loop, move the codes for the metadata to be executed before the_content() function instead of after it.
Then you’ll have to edit your style css file under postmetadata. Delete the clear: both; statement, and replace it with a float: right; statement instead.
That’s my best guess. I haven’t tested this so you’ll have to play with it.
Forum: Plugins
In reply to: I want WWW domain prefixWhy don’t you just edit your .htaccess file? Seems a lot simpler than messing around with a script redirect.
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{http_host} ^\.domain\.org [NC]
RewriteRule ^(.*)$ https://www.domain.org/$1 [R=301,NC]