Hi
I have my wordpress in a folder, i updated the url options in the wordpress genereal settings to the root folder, i then copied all the files from the directory to the root.
I have not deleted the old directory yet!
When i go to log in, i can not do so, in the url it still says redirect to the old directoy.
What should i do, do i have to delete the ole directory?
I'm trying to set the post_date of a blog post to Wordpress via XMLRPC.
I'm sending the data as a string:
$pubdate = '2010-04-08 13:46:43';
'post_date'=>$pubdate,
It appears 'post_date' is correct?
I also found this post losely related to the issue: http://wordpress.org/support/topic/330597
Can anyone suggest how I would post the date as: dateTime.iso8601
I have been making plans to create a site that would contain several different sections, such as several blog feeds for reviews and articals, a forum, and also a stock site where people can sell/buy photos.
I was planning on doing this in PHP, but have recently started using wordpress and found it to be very powerful. is a site like this too "advanced" to be done in wordpress?
I'd like my homepage to display my latest posts which are portfolio projects of mine. Beneath these project thumbnails I've got my static content which I'm using the Repeater add-on from Advanced Custom Fields to grab. I cant get it all to work on the same page... either get the blog to work or the ACF stuff to work. Never both because one needs to be a designated static page and one needs to be a posts page. I don't understand how to tie it together and make it appear as one page.
I've experimented with the settings in the reading panel..
I've tried using front-page.php
I've read up on the WP hierarchy etc
I've tried using templates...
I've tried wp_reset_postdata(); which I read about elsewhere on Stack Overflow.
What settings must I use in the reading panel. Do I need to use a template file?
Here's the code I'm working with, I've split the code between templates and different files already, but just for ease of reading its all together here (maybe that's the right way to do it anyway, I wouldn't know..)
<!-- The posts/portfolio items -->
<?php get_header(); ?>
<div>
<?php if(have_posts()) : ?>
<ul>
<?php while ( have_posts() ) : the_post(); ?>
<li>
<!-- Permalink,title and post thumbnail here (omitted) -->
</li>
<?php endwhile; ?>
</ul>
<?php else: ?>
<h2>No Posts found</h2>
<?php endif; ?>
</div>
<!-- Now for the ACF Stuff -->
<?php if(get_field('care_list')): ?>
<?php while(has_sub_field('care_list')): ?>
<div class="grid_2 what-i-care-about gap">
<div class="important-img-container">
<?php the_sub_field('care_list_image'); ?>
</div>
<h3><?php the_sub_field('care_list_title'); ?></h3>
</div>
<?php endwhile; ?>
<?php endif; ?>
<?php get_footer(); ?>
Please help a frustrated learner! Thanks in advance.
I want to use PEAR's HTML_Template_IT in one of my Wordpress page templates so I can separate the HTML from the PHP. I got it working, except I am not sure about one thing.
Wordpress's built-in function get_header() actually echo's HTML - so I can't technically set it as a template variable. Is this considered acceptable or is there another way to put the contents of get_header() in a variable?
Thanks!
I am in the middle of building a site with user submitted posts that let the user upload a zip file along with images. At the moment I am using TDO-Miniforms and wordpress 2.9.2, but TDO-miniforms has stopped development and is broken with wordpress 3.0 that just came out. I would like to update the site to 3.0 but I don't know of any alternatives to TDO-miniforms that let logged in users submit posts with attachments and images.
Any alternatives?
I'm programming a wordpress theme and need to make it save data, how should I have it do this? Is there a wordpress function or would I have to connect to the database on my own?
Is there a way of sending notification about new wordpress-based blog to facebook account?
Or maybe a plugin for wordpress?
Restriction is that user shouldn't be logged into facebook, just specify facebook credentials to the plugin.
I want to run a php script on my site from a newly created subdirectory.
However I am finding that my existing wordpress blog (running from doc root) is intercepting my url to the script in subdir and giving me a 404.
How can I get wordpress to ignore the subdirectory?
Hello,
If you go to wordpress admin and then settings-privacy, there are two options asking you whether you want to allow your blog to be searched though by seach engines and this option:
I would like to block search engines,
but allow normal visitors
How does wordpress actually block search bots/crawlers from searching through this site when the site is live?
Hi guys,
may i know how do i set the number of feeds displayed on a word press blog?
for instance, i used
http://beautifulreminisciencezz.wordpress.com/?feed=atom&year=2009
But it returns me only ten results.
For blogger, I know the query parameter is 'max-results'
However,t here's nowhere in wordpress where they mentioned the query parameters for this.
Anyone have any idea?
I correctly inserted a javascript file into the wordPress admin with :
wp_enqueue_script()
I know that the script is loading. I tested it with an alert().
I then found that I am unable to access the DOM. When I tried :
document.getElementsByTagName('body')[0].addEventListener('load', function() {});
This error was:
Uncaught TypeError: Cannot call method 'addEventListener' of undefined
This is the first time I have used 'settings api' or inserted scripts into the WordPress admin.
i need help with a wordpress theme, i want to localize a theme but i have some problemes my new blog is in arabic (rtl) and i want to replace the theme logo in the right (float to right) and the banner ad to the left side in the header, also i tried to float the search bar to the left but i did not succeed in that, can you please help me to localize this great theme? ah i forget to tell you the theme name is "Vanillia" http://newwpthemes.com/wordpress-theme/vanillia/ here is a screenshot of what i need to do (http://) i47.tinypic.com/28cg0ax.png
Just like using the many twitter or facebook widgets out there that pull the feed and display it in a nice widget, I want to create a "widget" that pulls a feed from a wordpress blog that I have, and displays it on a static, non-wordpress page. Before I try getting my hands dirty with jquery, do you know if there is any pre-existing code or plugins out there that I can use?
I just moved a wordpress site from one server to another, and I keep getting this error.
Warning: implode() [function.implode]: Invalid arguments passed in /home/finer/public_html/wp-content/themes/barely-corporate/template_portfolio.php on line 41
I have been on the Wordpress support site but couldn't find a solution. Can someone please HELP!? Here is the link to the page where the error keeps coming up:
http://finerthingsforher.com/?page_id=14
I am a template designer and I want to create one wordpress with all generic posts, but I don't want to have to keep logging in and copy & pasteing the same wordpress posts everytime. Can I point multiple WP installs to one database? A harder way would be export a master db and importing it to each install. Before I go crazy and try to hack something together, does anyone have any advise?
-Thanks in advance.
Hi I have a wordpress installed on
h*ttp://domainname.com
and I would like to have replication of the same website on a subdomain for example
h*ttp://sub1.domainname.com
h*ttp://sub2.domainname.com
What should I do to make this happen without copying any database and the wordpress should be smart enough to recognize the "sub1" and "sub2" to be used later in the program.
Hi Guys,
How would I go about displaying all of a site’s categories in checkboxes in my options panel?
I can get a dropdown select menu to work, I just have no idea how to implement checkboxes.
Code Here from Net Tuts: http://net.tutsplus.com/tutorials/wordpress/how-to-create-a-better-wordpress-options-panel/
http://pastie.org/885320
Thanks in advance.
I've got a wordpress plugin which presets several settings in a wordpress site and creates some default pages which are the same for all my sites. I would like to include an html file in my plugin zip package that is placed into the site's root directory "as is" (same file name, etc)
The file is my google verification file, which is the same for all my sites, so I'd like to save a few steps and automate the process of installing it, along with my default setup steps that my plugin handles.
Any help, much appreciated.
So I have PODS installed on my wordpress site that I am developing. I need to put up a user registration system such that once the user registers, he/she can be directed to POD pages that I have created.
Can I just use the default registration system that comes with wordpress and redirect users based on a default role I assign to them? I basically don't want my potential users to view any part of the admin site.
Any help is appreciated.
Hello, guys.
I've some problem with iframe at the WordPress admin panel. Can you tell how to remove it? and how to secure WordPress with similar problems?
I uploaded my wordpress site from my Local host to a folder off my main domain (http://example.com/folder) using this tutorial http://www.webdesignerwall.com/tutorials/exporting-and-importing-wordpress/
(im working on a mac)
Everything went ok - admin panel is fine homepage is fine etc - only any page apart from the homepage redirects to this (http://example.com/folder/pagename) except instead of showing the content from that page it shows the unstyled information from the index page of my main root (http://example.com/)
What can I do to get this working?
Thanks
hi guys , i want to design a small website like stackoverflow (but in deferent language) and i want to use wordpress because it easy to use and have a lot of plugins and themes and it is opensource so :
how can i do this website in wordpress and what are the plugins i need to help me mange it and make it secure .
thanks and sorry about my english .
I´m looking someway (plugin, code, template, etc) to make a categories page on wordpress, where only sub-categories be shown per page.
To be more specific, please visit https://www.ifixit.com/Device/Mac
There are 3 Categories there : Mac Laptop, Desktop, Hardware. Inside Mac Laptop are other subcategories.
There will be posts assigned to those categories.
Is there a plugin for wordpress that can do that?
Thanks