vangrog
Forum Replies Created
-
In the URL points to a specific file (/myfolder/myfile.htm), WP does not affect it, that URL will open even not being part of WP. But Esmi is right, if the path is not absolute, WP will return a 404 error. So u’d need to create a rewrite rule in your .htaccess, as Emis said.
Forum: Fixing WordPress
In reply to: No robots.txt fileGet sure you have the option “I would like my blog to be visible to everyone” marked (it’s on “privacy” under configurations).
And place no robots.txt in your root, it’s created virtually.
Cheers
Forum: Fixing WordPress
In reply to: Blog disappeared..now whatIt seems the issue has gone, your blog loads perfectly to me.
No, there’s no issue. Just be sure you use a different table prefix for Wiki, or (this would be better) use a different database.
Cheers
Forum: Plugins
In reply to: [Plugin: Events Calendar] Do not update! 12-12-09@ swhitinger: Sorry, but I havent seen that error, so I cant help. Anyway, if you want to change the format dates are showed, you have to go to events calendar options page, and set it there, such as:
m-d-Y
That exemple will show the date as: 01-19-2010Cheers
Forum: Plugins
In reply to: [Plugin: Events Calendar] Do not update! 12-12-09@ greatestates: you have to add this code into your template sidebar, if want to embed the calendar:
<?php SidebarEventsCalendar();?>About widgetizing it, sorry but I can’t help. I only use embedded plugins codes, nothing widgetized.
Cheers
Forum: Fixing WordPress
In reply to: Migratin Domain to SubdomainThta’s not necessary, if you do what said above. The only thing you’ll lose is recorded links at search engines, and bookmarks from people. Tho, search engines will update their records with time, and so can people do. Thus I dont get your point.
Cheers
Forum: Plugins
In reply to: [Plugin: Events Calendar] Do not update! 12-12-09Your site is not loading the javascript files. For that sidebar calendar, it’d need to load these 2:
<script type='text/javascript' src='/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script> <script type='text/javascript' src='/wp-content/plugins/events-calendar/js/jquery.tooltip.min.js?ver=1.3'></script>And the CSS:
<link type="text/css" rel="stylesheet" href="/wp-includes/js/thickbox/thickbox.css" /> <link type="text/css" rel="stylesheet" href="/wp-content/plugins/events-calendar/css/events-calendar.css" />Then another script:
<script type="text/javascript"> // <![CDATA[ var ecd = {}; ecd.jq = jQuery.noConflict(false); //]]> </script>And at the bottom:
<script type="text/javascript"> // <![CDATA[ tb_pathToImage ="http://www.brazilusa.com.br/wp-includes/js/thickbox/loadingAnimation.gif"; tb_closeImage = "http://www.brazilusa.com.br/wp-includes/js/thickbox/tb-close.png"; ........... ........... ....... ...Something is wrong. It seems only the last part (thickbox) is loading on your site. Did you edit any of the files? Tried to move where those javascripts load or set them to load embedded in your template? I dont recommend any of that for this plugin (unless you are really sure of what you are doing). It’s not easy to edit it, probably because it’s still a rough beta. Moving things can easily make it crash.
Try disabling it. Delete all files, and delete its table at your database if you have access to it. Upload the patched pack I linked here and install the plugin again. See if it works.
If it doesnt, it might be a conflict between this plugin and another plugin or your template.
Cheers
Forum: Fixing WordPress
In reply to: How can i post a header link on a modified theme?Well, my guess is something is wrong with your template. First the the blog title (added by WP itself), now a simple image you try to add on the header. If you have edited this template, I’d sugest you to throw it all again, install the original template and start it all over again.
I guess the conditional tag is misplaced (sorry, I don’t use this plugin so I cant test).
If that does not work, try replacing this part:
function load_styles() { // check first the theme folder for a nggallery.css if ( nggGallery::get_theme_css_file() ) wp_enqueue_style('NextGEN', nggGallery::get_theme_css_file() , false, '1.0.0', 'screen'); else if ($this->options['activateCSS']) wp_enqueue_style('NextGEN', NGGALLERY_URLPATH.'css/'.$this->options['CSSfile'], false, '1.0.0', 'screen');by this:
function load_styles() { // check first the theme folder for a nggallery.css if ( nggGallery::get_theme_css_file() ) wp_enqueue_style('NextGEN', nggGallery::get_theme_css_file() , false, '1.0.0', 'screen'); else if ($this->options['activateCSS']) // HERE IT COMES THE HACK // if ( is_page() ) wp_enqueue_style('NextGEN', NGGALLERY_URLPATH.'css/'.$this->options['CSSfile'], false, '1.0.0', 'screen');[]
Ps.:
is_home() — adds your main page
is_page() — adds pages
is_category() — adds categories
is_single() — adds single posts
is_archive() — adds archives (search, tags, author, date…)Adding a “!” before it removes the files, instead of addin them like above:
!is_page()————-
You can also set which specific pages you want to include, by poiting their ID number:
if ( is_page(array(2, 5)) )
In this example, only the pages 2 and 5 will be included (other pages and all the rest — categories, archive etc — will be excluded)
More info about conditional tags, check this out:
http://codex.wordpress.org/Conditional_Tagsseeya
Forum: Fixing WordPress
In reply to: How can i post a header link on a modified theme?Try removing the style, and center the image:
<div> <p align="center"> <a href="xxxxxxxxx"> <img src="images/transparent.gif" width="800" height="100"></a> </p> </div>And adjust its size to make it fit, and not stretch the page.
On “nggallery.php”, find where it says:
function load_styles() { // check first the theme folder for a nggallery.css if ( nggGallery::get_theme_css_file() ) wp_enqueue_style('NextGEN', nggGallery::get_theme_css_file() , false, '1.0.0', 'screen');Add the condition before wp_enqueue ():
function load_styles() { // check first the theme folder for a nggallery.css if ( nggGallery::get_theme_css_file() ) if ( is_page() ) wp_enqueue_style('NextGEN', nggGallery::get_theme_css_file() , false, '1.0.0', 'screen');If you want to add more, do something like this:
if ( is_page() || is_single() )I haven’t tested it, but I guess it might work.
The same goes for other plugins…
Have fun! ;o]
Cheers
I don’t know the plugin you mention, so I cant help with it specificly.
You need to hack the plugin files, find where it sets the css and js to load and add the conditiion “php if” (as the example above).
Example:
<?php if ( is_home() || is_category ) { ?> <script src="myscript.js" type="text/javascript"></script> <?php } ?>In this case, myscript.js will load only if it’s home or a category.
Cheers