Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

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

Seriously... I have a site that I'd like to make a few changes to, however I don't want to mess it up (FUBAR)...
Is this what "clones" are for? What's the quickest pain free way to work on the site and make live with all my changes?  It's a hosted site via cPanel.

Thanks
D
0
On Demand Webinar: Networking for the Cloud Era
LVL 10
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Hi Experts,

I am trying to write a very simple plugin for my client, and this is my first plugin, but cannot figure out how to submit from within /wp-admin?

As a test , I put together the following, but when I submit I get 404 Error. I see this is because the submit action is looking for .../wp-admin/admin-submit.php where admin-submit.php is in my plugins folder, but if I submit directly to it, I know I will get out of the wp-admin structure.  Do I need to doeverythign in iFrame or how do I handle this properly?

aces-test.php
<?php
/**
Plugin Name: Aces Test
Plugin URI: https://www.aces-project.com
Description: This is my <b>Plugin</b> description.
Version: 1.0.0
Author: Aleksandar Poposki
Author URI: https://www.aces-project.com
**/

function wp_add_menu(){
//    add_menu_page('ACES Page Title', 'ACES Options', 'manage_options', 'aces_plugin', '', 'dash-email-alt');
    $admin_page = 'admin-form';
    add_menu_page(
        'Custom Menu Title',
        'custom menu',
        'manage_options',
        $admin_page, 'aces_admin',
        '');
}

function aces_admin(){

    require_once 'admin-form.php';

}

function aces_activate(){
    //Create WP-Admin Page
    
    //echo 'ok';
}

// Activate
register_activation_hook(__FILE__, 'aces_activate');
add_action('admin_menu', 'wp_add_menu');   

function aces_shortcode(){
    $disp = "ACES <b> plugin </b> from nnethbeans.";
    return $disp;
}
add_shortcode('aces-plugin', 'aces_shortcode');
?>

Open in new window


admin-form.php
<?php
/*echo '<div id="divAdmin" style="display:inline-block;  height: 500px; background-color: yellow">
    xxxxxxxx
</div>';*/
?>
<div id="divAdmin" style="display:inline-block;  height: 500px; background-color: yellow">
    <form action="admin-submit.php" method="post">
        name: <input type="text" name="txtName">
        <input type="submit">
    </form>
</div>

Open in new window


admin-submit.php
<?php

$name = $_POST['txtName'];
echo 'Are you sure your name is ' . $name . '?';

Open in new window


Any help will be greatly appreciated.
0
Wordpress whenever I try to approve multiple comments it gives me err connection reset. Started happening after wordpress upgrade.
0
I have my plugin called TwitchPress and it has an extension called TwitchPress Login Extension. It's all open-source and it appears to work. We can login into WordPress using Twitch. Then when we make the WP installation more complex by adding more plugins and we see issues that have now taking around 30 hours to figure out without any real progress.

Experienced Issue

Add WPML (language plugin) and Shield (security plugin) and we see something I find strange happening. These plugins behave as if they don't recognize the users authenticated session even though the plugin uses WP core functions to authenticate the visitor. WPML asks the user to login when switching language but does not do so if we login using the WP login form. The Shield plugin is also installed and that has security to prevent a hacker continuing to navigate through the admin side if they do manage to get into the admin in the first place. Shield could be preventing easy access to the admin when switching language domains because it doesn't see the login as legit. The switch between languages becomes an opportunity to secure the blog.

Problem

One or both of these plugins do not recognize my authentication as genuine but how could that be and why would WP core itself allow access to the admin if something isn't quite right? I assume these plugins work well and the problem is in the steps I take to authenticate a visitor via the Twitch API.

Can anyone suggest …
0
I am developing a website using Divi Theme. The Background image nor the Background color will display
TonyC_Divi.docx
0
I'm trying to find a Wordpress theme that will be good for the following
- 2-3 simple pages, e.g. about us and contact
- an easy photo gallery similar to Facebook. Where I can have dates, perhaps 5-10 photos on each date. I don't use Facebook but want my own site to have ability to drop photos in on the fly and leave a simple 1 line description about it.

I have the domain and will enable the Wordpress app with the hosting company.
Thanks.
0
We are leaving our host provider in not so good a relationship  . We have the zip files from the site but not the database, ( It is a wordpress site )  Is there a way to host it in such a way that we are never in a position to have our website be down ? It would be acceptable to just have the home page without working links just so the home page is in place .
Our Godaddy web development team said that it will take 3 weeks but we could lose the host a week early .
0
Hi

Myself and a friend are making a word press site

We have an image that I would like to use on the first page but it tiles everywhere


Plan a. is to make it centred as one pic to a given size.

Plan b. is to make it a background pic as plan a is too difficult ...

Can someone pls tell me how to do this ?

Thanks
0
Hello,
I have a slider and some text on my website.  There is a background image behind the slider and text.  I am having trouble making the elements scale correctly in mobile layouts.  I was wondering what is the best way to achieve this without having to make tons on media queries for each size?

http://www.kimothysblog.com

Thanks!  Any help would be greatly appreciated.
0
Experts, can you please help me to change or remove sort heading in wordpress?

I need to change sort order heading in my wordpress site.

it is shop filter mention and i want to change it from shop filter to product filter.

i can change order fron a - z or z - a or shop by price or brand but can not change heading mentioned shop filter.

can you please help me how to change heading?
0
Free Tool: Subnet Calculator
LVL 10
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Client's site: Jesse Chong

I've installed and activated the woocommerce plugin...I've configured things as they should be however the Shop page isn't showing as an option within my top menu bar. Can anyone shed light on this? I've tried the loop removal and will move to the hook setup next but wanted to see if anyone else has had this issue...Thanks in advance.
0
I need a wocommece query which can return the following:

Product ID, Product Name, Product URL, Url of Featured Image,
where wp_postmeta.meta_key = _wc_dispatch_days and wp_postmeta.meta_value > 0
and
stock level > 0


the meta key _wc_dispatch_days is a custom key, and it hold values, for which i need records with values >0
0
1 incase i put in youtube and link to my wordpress page i do not want to have advertise from you tube
2 if I put in my webserver what is the for mat that I shold prepare  I host with normal plan that abot 8 uSD permont
3 one page i have 5 video minimum and  I want less than 5 second this is ok or not
4 can I make video auto run when user go to thayt video and not run if user not come to that video
5 page have video and text and pictures
0
I have links on my homepage:
Home page of website

I am trying to get the link to open in a page with the same layout without having to recreate the layout.
I can not find any tuts on how to make the layout the default.
A post inside the page opens as such
default layout

Any help is appreciated.
0
Hi,

I have built a small wordpress widget that floats in the bottom right hand corner of my client's website(s), so that their users can click it to make a payment to them... which simply redirects the user to my payment platform / website where my customer has an account.

FLOW - widget sits on clientwebsite.com and when they click it, the customer is brought to mysplink.com/abc (their payment profile on splink)

QUESTION
I need to be able to track how many users land on mysplink.com from a widget that sits on another site.

I was thinking of using something like mysplink.com/abc/ref=widget-abc and then i can view that in Google Analytics?

01 - would this approach be the best way to do this?

02 - any other advice on approaches would be greatly appreciated

Thank you in advance for your help.
0
I add an item to the cart on [url="http://jessechong.net/"]Jesse Chong[/url]but the item isn't taking.

I proceed w/ the checkout process and despite the formatting issues with buttons not showing and all that it appears to be working. then it keeps going in a circle and never gets to the payment page. The payment setup looks to be setup correctly. Thanks for any help with this.
0
Redirecting old ASP.NET website pages with query string to new WordPress website pages- Domains are the same
such as:
Redirecting :  http://www.chekadeno.com/index.aspx?siteid=1&fkeyid=&siteid=1&fkeyid=&siteid=1&pageid=470
to :
http://www.chekadeno.com/%d8%ae%d8%a7%d9%86%d9%87/%d9%85%d8%ad%d8%b5%d9%88%d9%84%d8%a7%d8%aa/%d8%a2%d8%a8%d9%86%d9%85%d8%a7

I've tried Redirection plugin and similar ways but not successful. My new website uses cpanel.
I appreciate your detailed response. Tnx.
0
I run a site at ColorWerx.net that displays the research I have done for the past 20+ years in collecting official color information for all sports teams throughout history. Pro and College.

This information is stored in a series of relational DBs...I store all the information I can for specific color sets (RGB, CMYK, Lab, Formula Ink mixes, etc.), and use it to cross-reference to databases for collegiate and pro franchises.

For a LONG time, the actual color information I've displayed has been in the form of running a report (admittedly, I'm still using MS Access. I know, I know.) and using SnagIt to grab an image to use as the display. Here's an example:

Arizona Diamondbacks (MLB/NL): 1998-2006
This example only displays Hex/HTML and RGB information; most teams and leagues don't want their specific Pantone information displayed on the site due to potential copyright issues, so I restrict what is displayed.

Obviously, this is a huge time-waster; I have wanted to replace this method for years.

Currently, my site uses WordPress; what I would like to do is to create a WP ShortCode that will allow me to display this information using generated swatch images utilizing CSS and PHP coding. However, I'm relatively new at this and am not exactly sure how to go about doing it.

I found a college branding site that uses CSS to create swatch boxes very similar to what I want to do:

UMass Amherst Brand Guide

I found the references to the 'pantone-box' elements within the CSS:


Open in new window

0
i am unable to get to the admin panel of my wordpress site. Its not theme related as I tried to switch out themes in the database and it did not fix the issue. Any help would be very much appreciated. I also noticed the links on my site are not working. I transferred this wordpress site from another server and I cant get it to work properly.

cabinetrefinishingidaho.com
http://cabinetrefinishingidaho.com/wp-login.php (gives me white screen)
0
Simplify Your Workload with One Tool
Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

My website - www.petanquelafayette.org - has a problem that appears to be coming from WP-SuperCache.  When I go to the website, I get the following text at the top of the page.

Warning: include(/var/www/html/pe/petanquelafayette.org/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home2/kevindom/public_html/petanquelafayette.org/wp-content/plugins/wp-super-cache/wp-cache.php on line 65

Warning: include(): Failed opening '/var/www/html/pe/petanquelafayette.org/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:/opt/php56/lib/php') in /home2/kevindom/public_html/petanquelafayette.org/wp-content/plugins/wp-super-cache/wp-cache.php on line 65

Warning: include_once(/var/www/html/pe/petanquelafayette.org/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home2/kevindom/public_html/petanquelafayette.org/wp-content/plugins/wp-super-cache/wp-cache.php on line 82

Warning: include_once(): Failed opening '/var/www/html/pe/petanquelafayette.org/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:/opt/php56/lib/php') in /home2/kevindom/public_html/petanquelafayette.org/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
 lessphp fatal error: load error: failed to find /var/www/html/pe/petanquelafayette.org/wp-content/themes/theme48163/bootstrap/less/bootstrap.lesslessphp fatal error: load error: failed 

Open in new window

0
The file content-search.php on my WordPress site has this content:

<div class="row">
	<div class="span12">

<h1>SEARCH RESULTS</h1>

<script>
  (function() {
    var cx = 'xxxxxxxxx';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//cse.google.com/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:searchresults-only></gcse:searchresults-only>

	</div>
</div>

Open in new window


I would like to simply replace this with the built-in (default) WordPress search feature. The theme I am working with is custom and was created by someone else. Is there some kind of default PHP code I can replace the above script with, to use the default WordPress search instead? The theme doesn't have a template file for search, other than what is shown above.
0
I already export data and files from database and file manager and import it into new one,but not able to see the condition and working as in previous site in wordpess.
0
Hi,

Am using Master slider plugin to show slider images in Wordpress , It's Working fine But i need to image Set to Screen size without scroll bar,How to show Image Size fit all small , medium and large screen But without Scroll bar. Please Give me Solution,Is it possible to do css?Once possible Give me idea to fit Slider image to all screen without Scroll.
0
I have a wordpress site on an existing server I am trying to move to a new godaddy server. I have downloaded both the site and the database files. i have published the files to the public_html folder and have uploaded the sql files to the database. I am getting this error. Not exactly sure what is causing this. Some help would be great as I am not familiar with wordpress.

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
0
I am trying to install wordpress on my Raspberry Pi. I can install apache2 and php without a problem
When I try and install MySQL I dont get asked to change the Password after the install
Also when I try to install php5-mysql I get an error saying dependency is missing

How do I fix this so I can continue the Wordpress install
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.