WordPress

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi Experts,

I am building my second WP site, and I am wondering why the Header Image (under Appearance >Header) is appearing in the middle?

I thought the middle is for the Featured Image?

How can I make the header image appear in the top left corner above the site name?  As well, how can I lower the site navigation to be just above the blue line?

If I need to adjust the code, not an issue, but how can I create the child theme and where do I adjust?

I am pretty knowledgeable in PHP, HTML, CSS, etc, I just need a reminder what's where in WP. I am using the Flex-Lite theme.
0
Enroll in August's Course of the Month
LVL 9
Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Hi

Following on from this post Wordpress SQL query help

Each post 'should' have multiple entries (30--50 on average) in wp_postmeta as a result of running the previous  I've now discovered some where the metadata is missing

using the sample data in  the last post how find all the post which have less than 5 ?

In sudo code

select p.`ID`,p.post_title
from wp_posts p, wp_postmeta m 
where p.post_status ='publish' and 
p.`ID`= m,post_id in (select post_id from wp_postmeta where count(m.meta_key) <=5) 

Open in new window

0
I need to know how to do this.

The person who worked on the site prior to me installed a plugin called Monster Insights which is automatically used when I try to configure Google Analytics. It does not work. I presume I can deinstall the plugin.

Then how do I do it WITHOUT the plugin?

Thanks
0
Hi

MY EDUCON blog is looking better, but I'd prefer it if the blog wasn't on the Home page, but on one of the tabs, and the home page was something I could design.
Is that just bad luck. - Not how blogs are done?

Thanks
0
I Need to find all the Wordpress Post that do not have a specific meta data value

select p.`ID`,m.meta_key,m.meta_value 
from wp_posts p, wp_postmeta m 
where p.post_status ='publish' and 
p.`ID`= m,post_id in (select post_id from wp_postmeta where  meta_key = 'DocID');

Open in new window


gives all the published posts with a DocID.
I need to filter it further on another m.meta_key that is missing from some posts

in sudo code it would look something like
select p.`ID`,m.meta_key,m.meta_value 
from wp_posts p, wp_postmeta m 
where p.post_status ='publish' and 
p.`ID`= m,post_id in (select post_id from wp_postmeta where  meta_key = 'DocID')
and not exists (m.meta_key = 'wanted')

Open in new window


Hoping this makes sense and someone  can show me a better way
0
I am trying to center text on the 3 widgets (3 circles with icons).  But, when I modify the css, it centers text on all pages!  Somehow I am not specifying the correct css to just modify the text in the widgets.  I tried modifying the below at it had no effect.

entry-content {
  text-align:center;}

Open in new window


http://25a.e58.myftpupload.com/
0
Can anyone recommend a wordpress plugin that is for responsive tables that I can add links to the content.  I found a bunch but none seem to let me modify table cell data to add html for links.

 I am redesigning this site and need to find a way to organize this content like they have it with the first column having links to related pages.

Old site:
http://cloverleaf.com/locations/

Beta site
http://25a.e58.myftpupload.com/locations/
Note, I just clumped this info on this page.  IT is not in a table.
0
I am considering making training videos which at some point may have a price attached to them. So, I am not keen on hosting these on YouTube.

What options to do have for private hosting?

Is it logical to consider using my WordPress site, where I already have WuCommerce up and running?

What is involved in video posting? Are there various WordPress plugins I cans use that would make this easy?

This is hosted on AWS. How do you calculate the cost of this kind of service for bandwidth?

What if I have 10 views per day and the video is 30 minutes long?

What might that cost for the month?

Thanks
0
Client wants me to add a top navigation bar (Customer Login, Driver Info, phone number and search box) ABOVE the main navigation bar.  I have seen this on other sites but not sure how to add to this studio press genesis framework wordpress site.  

Screen shot
https://screencast.com/t/6AoI3wFt

Beta site
http://25a.e58.myftpupload.com/
0
How do I get the three green icons to center over the 3 individual widgets? I tried a bunch of stuff and it just keeps getting worse and worse.

screen shot
https://screencast.com/t/8qNvi4TbzF

beta site
http://25a.e58.myftpupload.com/

Here is what I tried and it didn't work
a.alignnone img, img.alignnone {
  display: block;
    margin: 0 auto;
}

Open in new window

0
WordPress Tutorial 4: Recommended Plugins
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Hi,

Am newbie to wordpress,I need to Attached image in the portofolio page Show Slider in Single page Content using Nice Portofolio plugin.Is Working good category Wise Once Clicked that category Attached images show slider.Please give me solution for my Problem.
I need to use Slider using Jquery.Is it possible to Show Slider using Js inside Nice Portofolio Plugin.
0
Client has audio files from town meetings that need to go on website.  Site is due to launch as early as next week.  Largest file size is 341MB.  Website is being built on Wordpress.

Can someone recommend a software or plugin we can use to reduce the file sizes.  They are not tech savvy so it would need to be something pretty easy to use since they do not want to have me do it for them on a weekly basis.  

They might be ok with a free trial and then pay afterwards if it serves their needs.
0
I have a wordpress site (barcelona theme) I cannot edit category layouts. I to change the layout to delete the category and recreate it with the desired layout and reassign the posts.

When I go to edt categories the layout is there but all options are disabled. It makes no sense

I have googled it as wll as I know but have yet to find a solution
0
I'm helping a friend with their WP site and I'm using Presstiger's Simple Job Board plugin. I'm getting the following output errors thrown when after pressing the SUBMIT button:

errors
Any help from the community would be great.

thank you.
errors.png
0
I have a select box called mfr colors which has manufacturer colors. Here is my select box with a couple of options but in general there a lot more options.

<select id="tmcp_select_1" class="tmcp-field tm-epo-field tmcp-select tm-valid" name="tmcp_select_0" data-price="" data-rules="" tabindex="1" aria-required="true" aria-invalid="false">
<option value="Custom_0" class="tc-multiple-option tc-select-option" data-imagep="" data-price="" >Custom</option>
<option value="Black Roof Orange Body_1" class="tc-multiple-option tc-select-option" data-imagep="" data-price="" >Black Roof Orange Body</option>
<option value="Red Body White Roof_2" class="tc-multiple-option tc-select-option" data-imagep="" data-price="" >Red Body White Roof</option>
</select>

Open in new window


Now each mfr color has 4 thread colors namely primary, secondary, third and fourth. I have a custom post type called manu-color and each manu color has all the four thread colors. What I am trying to do is display the four colors based on the mfr color selected above from the select box.

here is my code for the custom post type

function pcfa_create_post_type() {
	// set up labels for Colors
		$labels = array(
 		'name' => 'Manufacturer Colors',
    	'singular_name' => 'Manufacturer Color',
    	'add_new' => 'Add New Manufacturer Color',
    	'add_new_item' => 'Add New Manufacturer Color',
    	'edit_item' => 'Edit Manufacturer Color',
    	'new_item' => 'New Manufacturer Color',
    	'all_items' => 'All 

Open in new window

0
Hi,

I am writing a php code to do a bulk export of all the blogs on my wordpress sites.

this is what I used, i.e. in a loop obtain blog ids and switch to the sites and run export.
issue is its just opening the content on a browser rather than to an xml file.

require_once( ABSPATH . 'wp-admin/includes/export.php' );
switch_to_blog($blogid);

$args = array(
               'content'    => 'all',              
      );

export_wp($args);
0
Hi
To my long suffering helpers in this - I finally have a theme that is close to what I hoped for (purchase from themeforest.com)
Some guys in Delhi are helping in Freelancer, but I don't want them to charge me for minor changes.
I have the EDUCON WP theme.
Is there a way for me to change the EDUCON title text to my site's name? It isn't a field in the options page?

Thanks
0
In my project that is in the wordpress
I am pasting values to excel and that is mapped to ppt, now I need to open ppt every time to update its values by clicking on update links, Is there any way to update the file without opening it automatically
0
Hi

The Educon WP them seems to be exactly what I need,
but the documentation "how to" aspect of it is unimpressive. Does anyone know where a great manual for this theme might be?

Thanks
0
Want to be a Web Developer? Get Certified Today!
LVL 9
Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Hi

Has anyone had any experience of exporting entire WordPress blog to html files

each post will have it's own folder named from 2 wp_terms entries
I need to grab the wp_terms associated with  the post and create metadata tags
all images and other post links will need to copied into its folder and the links made local

I suspect I'm going to need to write a custom script to do this

Any help with this greatly appreciated especially the  SQL to link the posts to the wp_terms

Thanx
0
I generated and submitted my own sitemap.xml map for a webiste.
I also have Yoast installed for this wordpress website.
When I go into Yoast I am getting this error
The following file is blocking your XML sitemaps from working properly. Either delete it (this can be done with the "Fix it" button) or disable Yoast SEO XML sitemaps.
D:\sites\tebike\electricbicycle.com.au\home/sitemap.xml

I don't really want to fix it, as I sucussfully logged into my google account to verify and submit the site map, but now I am getting this error message.  Should I just ignore this Yoast error, fix it, remove my site map.
What is the best way to approach this?
Thanks
0
Hi

I downloaded a purchased Educon Wordpress theme from theme forest, and whenever it downloads on Apple OS X, it unzips itself, even if I select, just download the "wordpress-installable file."

I need the installation file to insert as a new WP theme
How do I do this without unzipping?

Thanks
0
I have a Wordpress post that when trying to save it just redirects to the 404 not found page.  

If I only have text in the post it works just fine, but when trying to show a code example of:
    $postTitle = str_replace(
        array("\xe2\x80\x98", "\xe2\x80\x99", "\xe2\x80\x9c", "\xe2\x80\x9d", "\xe2\x80\x93", "\xe2\x80\x94", "\xe2\x80\xa6"),
        array("'", "'", '"', '"', '-', '--', '...'),
        $postTitle);
    $postTitle = str_replace(
        array(chr(145), chr(146), chr(147), chr(148), chr(150), chr(151), chr(133)),
        array("'", "'", '"', '"', '-', '--', '...'),
        $postTitle);

Open in new window


In the post and saving it redirects to the 404 page, not sure why or what in this is causing the issue?
0
I have a really strange problem…

I am attempting to extend the backend User search to have visibility of custom user meta fields. I have tried two methods: 1) Plugin Better User Search, 2. Code posted by this developer. Both involve pre_user_query.

It seems to work – I can successfully tell the system to also look in specific meta fields.

The problem is, the User list is now only returning two results two page. In fact, the number of results per paginated page seems linked to the number specified in Screen Options above…

– Was 150: only two displayed
– When 200: only two displayed
– When 400: four are displayed
– When 500: four are displayed
– When 600: five are displayed
– When 700: six are displayed
– When 800: six are displayed

I’ve stripped out other functions that could be causing a conflict and isolated this code. I also switched to the WordPress standard theme and deactivated all plugins.

I am running WordPress 4.8.1 on Multisite, and the site in question is not the primary site, but, rather a subsite.
0
Hi
These are the Adsense approval bullet points. below
One seems to be that I must use the original URL that I used when I set up my account. I don't do that site anymore, but all my sites exist under a main URL for my account in godaddy.  How do I know which site that it wants, or correct it for it to work? what does it expect? Might it be relative to my umbrella URL for my godaddy account?

i) Copy the code exactly as it appears on your AdSense homepage.
ii) Place the code on the URL that you provided when you created your AdSense account.
iii) Make sure that you place the code on a page that has content and receives regular visitors.
0

WordPress

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.