sumeetsingh
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Removing Permalinks from wordpress pagesYeah am actaully talking about the word “permalink” as to how users see. I am integrating wordpress as a CMS in my current site and this permalink, down at each page doesnt look too neat.
I looked through codex, but couldnt find something that tells me where to remove it from. It just mentions the loop.
Can I be more demanding, and ask for some document reference in codex that can help me on this.
Cheers
Forum: Fixing WordPress
In reply to: Allowing use of stylesheet in postsLorelle i apologise for not getting back on the thread.. was away for sometime.
I also had to include just one or two tags in my posts so that some of the images and content is shown the way i want them to.
Unfortunately using 1.2 I tried everything, read all parts of docs, went through static plugins but couldnt achieve this. So i thought of adding little more code and styles to achieve this. Workaround at that time for me was a bit more important than finding something optimised .. ?? I can understand your frustration on this..
btw are you tryin to use this as CMS?( just a question..)Forum: Fixing WordPress
In reply to: Archives in Pull Down Menuthanks guys for the timely help. Yes I could have it working..
Forum: Fixing WordPress
In reply to: Allowing use of stylesheet in postsI think I got what I wanted to do. After much looking at PHP and some of the threads, I added the following code to the index.php and created each of the css layout files as I wanted to.
<?php
switch($cat) {case “1”:
print “<link rel=’stylesheet’ href='”;
echo get_settings(‘siteurl’);
print “/wp-layout1.css’ type=’text/css’ media=’screen’/>”; break;case “2”:
print “<link rel=’stylesheet’ href='”;
echo get_settings(‘siteurl’);
print “/wp-layout2.css’ type=’text/css’ media=’screen’/>”; break;case “3”:
print “<link rel=’stylesheet’ href='”;
echo get_settings(‘siteurl’);
print “/wp-layout3.css’ type=’text/css’ media=’screen’/>”; break;default:
print “<link rel=’stylesheet’ href='”;
echo get_settings(‘siteurl’);
print “/wp-layout1.css’ type=’text/css’ media=’screen’/>”; break;}
?>Forum: Fixing WordPress
In reply to: Allowing use of stylesheet in postsbump..
Forum: Fixing WordPress
In reply to: Allowing use of stylesheet in poststhanks for the reply . Unfortunately this is the first time I am using something in PHP and I would like it if there is something in wordpress i can manipulate after reading docs and stuff. Is there any example that you can help me with?
Forum: Fixing WordPress
In reply to: Allowing use of stylesheet in postsYes.. I created a CMS using WordPress and now I want individual styles for each of the categories like about, home etc.
For this, I created different styles/classes in the stylesheet that I want to use.
These will override the existing style for posts or entries.Forum: Fixing WordPress
In reply to: Importing just the postsI think there are two ways of doing this:
1. Export the posts to Movable Type format, and then use pre-defined import from Movable type format (using import-mt.php). I have never tried these, but they should work.
Here is a script for exporting to movable type:
https://blog.carthik.net/wpexportv2.phps
or
https://www.papascott.de/archives/2004/09/01/export-from-wordpress/2. Using RSS.
https://www.shearersoftware.com/software/web-tools/wordpress-rss-import/Also, check this thread:
https://www.ads-software.com/support/topic.php?id=15844Forum: Your WordPress
In reply to: Very Basic blog need advicejust open index.php and scroll down where you have sidebar.
You will see that there are comments like these:<!– The Calendar is disabled per default. Uncomment if you want to use it.
- <h2><?php _e(‘Calendar’); ?></h2>
<?php get_calendar(); ?>
–>
Uncomment them by removing the “<!–” and “–>” from this.
Forum: Fixing WordPress
In reply to: Show one category on front pageOk.. I solved the problem 2 also after going through the files.
Changed some para in wp-includes/template-functions-category.php and it works now.
Thanks everyone for the support. This place rocks!!
Forum: Fixing WordPress
In reply to: Faking cms with wp 1.5Add it on the top. The very first line on the page:
Kubrick must have added it like this:
<?php
/* Don’t remove this line. */ require(‘./wp-blog-header.php’); ?>Change this to:
<?php
$cat=”1 2 3 4 5 6 7a€3;
/* Don’t remove this line. */ require(‘./wp-blog-header.php’); ?>Forum: Fixing WordPress
In reply to: Show one category on front pageProblem 1:
I was able to acheive what I wanted to, looking at few threads and adding this to my index page:
<?php
if (empty($_SERVER[‘QUERY_STRING’])) {
$cat = “1”;
}
/* Don’t remove this line. */ require(‘./wp-blog-header.php’); ?>And it did the trick.
About the second problem, can anyone please help me with it? Changing the text of the title tag in the category list that is generated by <?php list_cats()?>.
I’ll keep in mind about asking one problem per thread. I apologise.
Forum: Fixing WordPress
In reply to: how change image on home page?to do this, use a FTP client like FileZilla to connect to your site via FTP.
Then where you see your blog directory or the directory listing, look for this directory “wp-style”.
In this directory, open the folder “rubric”. Likewise reach to the folder that will have this file “pen-sm.jpg”. Delete that and upload the new one. This should do it.Also, the directory structure also depends on wordpress version i think.. (if am not wrong on this.)
Forum: Fixing WordPress
In reply to: Show one category on front pageActually to elaborate on problem 1, I want the first page, when it opens should show post from only one category. This will be my home category. Other categories like about, and contact will have entries, but those should not be displayed at this time. Only when someone clicks on the category name, it will be displayed.
I looked much on google and elsewhere and found some threads that will hide posts from one particular category and will not show it. Here is one of them:
https://www.ads-software.com/support/topic.php?id=20650Couldnt gather much…
Forum: Fixing WordPress
In reply to: Show one category on front pagePodz, thanks for the response.
1) Though the plugin is not available on the kitten’s page anymore, i’ll still look for some plugin elsewhere.
2) About the second question, the menu that is there on the site, are actually categories in wordpress. So using CSS, i am listing the ctaegories to look like menu on the site. I want to change the default “title” text tag from something like “View All posts in category” to just “Name of the category”.
- <h2><?php _e(‘Calendar’); ?></h2>