Hi,
I've tried to install either the Fusion or Thematic child themes for my blog. My Wordpress directory is located at myblog/wordpress while my domain is just myblog (example).
Everything works fine with both basic themes or the parent Fusion or Thematic themes. When I install a child theme for either framework, I can view the previ...
Hello -
Does anyone know how to modify the Wordpress canonical links to add a custom URL parameter?
I have a Wordpress site with a page that queries a separate (non-Wordpress) database. I passed the URL parameter "pubID" to display individual books and it is working OK.
Example: http://www.uglyducklingpresse.org/catalog/browse/item/...
I'm struggling with wordpress templates. In one of my theme templates I have the following lines
<?php
echo get_the_ID(); // displays nothing
echo get_the_title(); // displays "Hello World! this is title"
?>
Why does the get_the_ID() return nothing ? I want the page id of the current page I'm on.
...
Hello. I need a Wordpress plugin to let me see any logged user's activity. I need to know what the user accessed from when he logged in.
Any suggestions ? Thanks.
...
I hate Wordpress for numerous reasons, but clients love it because it gives them so many beautiful features for their blog posts. I'm looking to see if I could use Wordpress as a means for clients to input their posts without having to actually use it as the platform for their website.
Is it doable (and is it wise?) to setup a free Wor...
My function below, will take the values from my custom meta fields (after a post has been edited, and save or publish has been clicked) and update or insert the posted meta values.
However, if the user leaves this field blank, I believe I want to delete the meta altogether (so I can test for its presence and display accordingly vs just ...
in wordpress ,
i set a variable in header.php
<?php
$var= 'anything'
?>
but in footer.php when I echo it
<?php
echo $var;
?>
I got no thing printed ... why !>
...
Does anyone know how to program it such that a user's rating gets attached to his comment, rather than independently? I'm attempting to program or set this in GD Star Rating for Wordpress
...
I know it seems like a simple operation, but I can't find any resource or documentation that explains how to programmatically add and remove tags to a post using the post ID.
Below is a sample of what I'm using, but it seems to overwrite all the other tags...
function addTerm($id, $tax, $term) {
$term_id = is_term($term);
$ter...
I am trying to write a function that i can reuse in my wordpress themes that will allow me to build robust dynamic navigation menus. Here is what i have so far:
function tab_maker($page_name, $href, $tabname) {
//opens <li> tag to allow active class to be inserted if tab is on proper page
echo "<li";
//checks that we are o...
Firefox:
http://example.com/about/#anchor -> http://www.example.com/about/#anchor
Internet Explorer 6-8:
http://example.com/about/#anchor -> http://www.example.com/about/
Why is the anchor dropped in IE and what can I do about it? (Query string is not dropped, only the #xyz part)
Is a PHP header or javascript redirect my only option? ...
Hello S-O.
I'm using jQuery 1.4 with jQuery History and trying to figure out why Firebug/Web Inspector are showing 2 XHR GET requests on each page load (double that amount when visiting my sites homepage (/ or /#).
e.g. Visit this (or any) page with Firebug enabled.
Here's the edited/relevant code (see full source): -
$(document).re...
I have a (wordpress) blog where after commenting the users are redirected back to the page with an anchor to their comment. Should look like this:
http://example.org/foo-bar/#comment-570630
But somehow I get a lot of 404 ins my logfiles for such URLs:
http://example.org/foo-bar/%23comment-570630
Is there a way to write a .htaccess re...
UPDATE
I tried using the internal wordpress rewrite. What I have to do is an address like this:
http://example.com/galleria/artist-name
sent to the gallery.php page with a variable containing the artist-name.
I used these rules as per Wordpress' documentation:
// REWRITE RULES (per gallery) {{{
add_filter('rewrite_rules_array','wp_...
I am using widgets in my wordpress theme and I need to remove the:
<div class="textwidget"></div>
that appears around the widget's content. I am using this in my function.php file:
if (function_exists('register_sidebar'))
register_sidebar(array('name'=>'Church Address',
'before_widget' => '',
'after_widget' => '',
'before_tit...
I set my wordpress permalink structure to /%postname%/ but now when I go to a page other than the home page (for example if I went to somelink.com/about) I lose all javascript references.
I think this happens because the links to the js files are no longer right as it is in the imaginary folder "about". This is how the js files are refe...
I'm a complete newbie to Nginx, so much so that I followed a online guide to do most of my server setup. I'm trying to learn but I'm still a ways away from understanding it all.
So what I'm trying to create is a link shortener that redirects (example.com/x) to (example.com/short.php?id=x). Keep in mind that I'm also running a Wordpress ...
I'm totally baffled as to why these 2 sites are rendering differently in IE7, even though the theme powering both is the same, they're both on WordPress 2.9.2...
This one is okay: http://htm2wp.com/dev/svn
This one has the sidebar appear at the bottom: svnsvadvisors.com/blog
Meanwhile, they render the exact same in Chrome and Firefox....
Hello,
I'm creating a new WP theme and I would like to allow the user to insert a divider in between paragraphs or images he/she is entering, for a post/page.
I want the output to be something like:
<div class="divider"></div>
But I don't want the user to have to enter HTML in the WYSIWYG editor. Is it possible to ask them to enter ...
I used to use a plugin that would give me the option to remove a page from the top navigation but still appear in the side navigation but for the life of me I cannot remember the name of it and I have too many pages for the all to be displayed in the top nav.
Can anyone help me?
Thanks
...