0
votes
0answers
12 views

Add a Settings Section to the Middle of an Existing Page (add_settings_section)?

I am wondering if it is possible to add a settings section (add_settings_section) to an existing page but to have it in the middle of the existing sections. For example on the existing "Discussion" ...
0
votes
0answers
14 views

Developing a plugin, ran it through P3 Profiler, shows up slow, but I don't know why

I am having an issue with my plugin I'm developing. After using the GoDaddy P3 Plugin profiler, it shows that is taking up a large amount of runtime, but the plugin itself is very minimal. It just ...
1
vote
1answer
40 views

Making Quote Plugin more efficient

I've been working on this plugin the past couple of nights and have been jotting down idea's of how to improve it. My knowledge of php isn't the strongest and I'm learning as I go along most of the ...
0
votes
0answers
13 views

List Categories in Custom Order

I'm using this code: <?php wp_list_categories('include=19,20,21,22,23,24&orderby=date&title_li=<h4>' . __('Prices') . '</h2>' ); ?> But it's not displaying categories in ...
0
votes
0answers
25 views

When editing, my post titles and permalinks revert to the title and permalink used for static homepage

Whenever I add a new post or edit an old post, the post title automatically switches to the same title that's used on my static homepage page. The permalink also changes to the same link, with a ...
0
votes
0answers
24 views

Same date post in one box

I would like to ask for a little help. I wish you the same date is a Post;, you just enter the time of the WP. The twist, however, is that it is all in a box. I'll show it to be understood: ...
2
votes
1answer
23 views

Are there Limitations on filter handles?

I was looking through a 3rd party plugin's code today and found them doing this: add_filter('some_base_handle'.sanitize_title($string), ...) Curious, since I was using xh_prof to look for code that ...
0
votes
1answer
20 views

Show Pages in Categories

I created category function by adding this code to functions.php: function page_category() { register_taxonomy_for_object_type('category', 'page'); } // Add to the admin_init hook of your theme ...
-1
votes
0answers
22 views

Remove comments from database

I have a number of comments generated by a WooCommerce payment gateway module. For some reason the comments can not be deleted in the backend (no checkboxes). Would it be safe to delete them from the ...
-1
votes
0answers
46 views

How do I properly manage URLS for wp installs within addon domains and subdomains?

All this is specific to cPanel, Softaculous-installed WordPress installs. So I'm not quite sure I'm posting this in the right place.. but fingers crossed you guys will be able to help me out with ...
0
votes
0answers
15 views

Upload more than one media files with a post

I am not sure if this has been asked to community before. I 'd like to have more than one upload custom fields with WP post. Could anyone please suggest if there is any plugin available for it OR ...
0
votes
0answers
18 views

Automatically prepending '#' to slug in child page permalinks

I'd like to have any child page url like http://www.foo.com/fooparent/foochild automatically turns into http://www.foo.com/fooparent/#foochild Could this be done in the htaccess rewrite rules or can ...
-1
votes
0answers
13 views

Single Sign On Wordpress and 3rd party SAAS [on hold]

I researched in this forum but found not a solution to my question. I have a Wordpress website hosted in my VPS. I wonder if there is any way to develop coding to make a single sign on code, so that ...
-1
votes
0answers
9 views

Navigation color bar not repeating [on hold]

Why is the color navigation bar not repeating on first load of page (even though set to repeat-x) but then spreads out, fully repeats after screen size adjustment or page is redrawn? thanks for your ...
0
votes
0answers
18 views

My wordpress blog RSS isn't showing

I'm trying to have a little section on my wordpress home page that has a RSS feed of my blogs activity. Here is my code for getting and displaying the RSS <?php // Get RSS Feed(s) ...
0
votes
0answers
8 views

How to parse meta value from user specific post to google charts?

I'm currently working on a project where i need to visualize the progress of users (fitness). For that i have created a custom post type with custom fields. I want to parse the meta values associated ...
1
vote
1answer
24 views

Can user #1 (the initial user) be deleted without ill effect?

When you create a new Wordpress site, the first user created is user #1 and given the Administrator role. Is there anything special about user #1 that would make it unwise to delete it? (Assuming ...
-2
votes
0answers
24 views

PHP code inside a WP page echo<html code> problem [on hold]

I've activated a plugin to use php inside a wp page. It'works but if I need to use html code within a php block, that statement is not considered. I need it to fill a listbox from database. e.g. ...
-4
votes
0answers
18 views

Page not found in chrome [on hold]

I am getting very strange issue for http://www.swineweb.com/events/, when i click on any event it not open page
-1
votes
0answers
13 views

Mobile view is zoomed in 100% [on hold]

I am using the Zenon Pro theme on my website and find it to zoom in 100% when viewed on a mobile device (not on tablets). The author isn't really responsive and was only able to suggest me to add the ...
0
votes
0answers
14 views

Sidebar menu based on user role

This is a follow up to my own topic: Show menu in sidebar if on specific page AND specific user role (is_page, current_user_can) It didn't quite work as intended. To recap, I want to show a different ...
0
votes
2answers
19 views

WordPress Screwing Up 'orderby' => 'meta_value_num' in 'pre_get_posts'

I have a bunch of _ai_price_int meta values set up as just numbers. This is how the table looks: meta_id, post_id, meta_key, meta_value 1309, 1111, _ai_price_int, 6550 1310, 1115, ...
3
votes
1answer
60 views

Is it worth checking if class_exists when developing a plugin and how to do it?

I'm learning WordPress plugin development using OOP approach. In most resources before declaring a class there is usually a check if class exists class_exists(). Is it a good approach to check this ...
-1
votes
0answers
22 views

WooCommerce Add Shipping Class to 1000 Products [on hold]

I've just updated my WooCommerce Shipping Classes to work better with free shipping on certain items. However, I need to apply my new 'Standard Shipping' class to 1000+ Products. Going through ...
0
votes
0answers
25 views

The Loop: Not Repeating Styles [on hold]

For some strange reason, my loop is not repeating my mark-up/styles consistently. My code is as follows: <script type="text/javascript"> //<![CDATA[ (function($){ //This functions first ...
0
votes
0answers
13 views

Add button in TinyMCE editor to insert text

I'm searching a way to add a custom button to the TinyMCE editor when clicked insert into the visual editor some text. For example: button called "Hi" when clicked insert into the editor "Hello I'm ...
0
votes
0answers
20 views

Delete duplicate posts where meta_key is the same

I have imported some posts and this has caused some to be duplicated Each post (of a custom post type "property") should have a unique meta_key "import__id" value I need to delete all duplicate ...
-1
votes
0answers
7 views

Saving the value of a text area with Woocommerce [on hold]

There are a couple of plugins that do this, but they seem like overkill. On a product page, the user will see a textarea, where they can leave a note for the seller. I'm sure I could create this if ...
0
votes
0answers
20 views

Source Code on wordpress.com site not showing properly on anything besides IE [on hold]

Here's the post You may see the code I posted has some funny code inserted. Something like <span class="skimlinks-unlinked">. I inserted the code segment inbetween [code ...
-1
votes
1answer
13 views

Need help with restricted page for users

I have 3 pages and i want one of the three to be restricted for normal users. I want there to be members, who only can view the page after they have been approved by the admin. To view the page i want ...
0
votes
1answer
24 views

how to add a div inside wp_page_menu

Right now I'm using the <?php wp_page_menu('menu_class=nav'); ?> function, which gives this result: <div class="nav"> <ul> <li class="page_item ...
0
votes
1answer
16 views

Site transferred to new server produces 404s

I have transferred my site to a new server. I can login to wp-admin ok and can view the home page but all other pages produce 404s. I have changed the 'Home' and 'Site URL' options in the settings ...
-1
votes
0answers
21 views

Using custom product-content.php in loop [on hold]

I overrided the content-product.php with my own implementation in the yourtheme/woocommerce/content-product.php path. I'd like to use it in a loop. How to do it ? Using ...
-2
votes
1answer
23 views

Orderby with menu_order and title

Since Wordpress native order system is a little dumb (ie: 1 banana, 10 bananas, 2 bananas,...) I needed to add a plugin that let me set the order for numerical titles. The thing is that when I set ...
0
votes
0answers
12 views

custom cron interval is not working

I am trying to create custom interval for cron schedule with below code but it is not working, function cronschedules($schedules) { $schedules['custom'] = array( 'interval' => 36000, // seconds ...
0
votes
1answer
20 views

Pages with posts filtered by category

My site has a few categories, such as "business", "techology", "news" etc. I'd like to display the latest posts from most categories on the front-page, except for a few special ones which I can ...
0
votes
0answers
12 views

assign default pages to newly craeted site in wordpress multisite

I have created new multisite and it runs successfully. I want to crate 3-4 pages from super admin and assign these pages to my already created sites and when new site create than I want to assign ...
0
votes
1answer
26 views

Adding body class when post contains a specific shortcode

Simple shortcode function : function my_shortcode_function($atts,$content=null){ // Do something return $content; } add_shortcode('my_shortcode','my_shortcode_function'); I wonder how to add ...
0
votes
0answers
13 views

Gravity Forms After Submission - GFFormsModel::update_lead_field_value?

I am working with Gravity Forms. This code works with a couple issues : add_action('gform_after_submission_14', 'post_contract_update', 10, 2); function post_contract_update($entry, $form) { ...
0
votes
1answer
22 views

Get post title with link

I am using this code to send an email from my wordpress site. It send permalinks of the posts. How can i edit this to have linked titles instead of just permalinks; if(count($ids) > 0){ ...
0
votes
0answers
21 views

Prevent WordPress from using resized/compressed versions of uploaded images

I am uploading an .jpg image to a page and selecting 'Full Size - 800 x 381' under 'ATTACHMENT DISPLAY SETTINGS'. However, when previewing the page I look at the source code and I see after the image ...
-2
votes
0answers
10 views

Sample data for UMBRELLA - TRAVELO [on hold]

Hello i am using UMBRELLA - TRAVELO theme.. Can anybody tell me where i can get sample data for it.. As per documentation i am not able to get sample data. here is documentation link ...
0
votes
0answers
38 views

How to make image proportional bigger?

I'm trying to make my slider images bigger but it doesn't work. I want them to be proportionally bigger and with width:100% they look funny. It's fine if the image get cut and doesn't show the whole ...
0
votes
0answers
11 views

function triggered by “manage_users_custom_column” filter not working

I am trying to add a custom column un users.php but it stays empty. I have successfully added a column to the users admin page with this code in my theme's functions.php file: function ...
0
votes
0answers
18 views

One login for 2 websites on different platforms

I have 2 websites, 1 in core PHP where users are already logged in. I have a tab which name is 'post'. When the user click on 'post', it link to website 2 which is wordpress site. I want a user ...
0
votes
0answers
21 views

Join wp_users and wp_usermeta

I have a custom user meta named created_by, which is the ID of creator of this user. I want to create a view table like this for example: ID user_login created_by 2 andi admin How to ...
0
votes
2answers
27 views

Get Value of Post before

I have a normal loop in wordpress and in every post i need to check the value of the post before to compare it with the current post. -- POST 1 -- ** DO NOTHING ** -- POST 2 -- ** GET VALUE FROM ...
0
votes
0answers
11 views

NGG Gallery Plugin slideshow not displaying

Can anyone see a reason why the slideshow works fine here but not here It's the same plugin, same gallery area, but it's just not loading the slideshow (It has been working)
0
votes
0answers
23 views

Change Default User Role for new signups on Multisite

I'm using WP 3.8.2 for Multi-Site. Is there a plugin that can change the default role of new user singups? I want all new signups to be "editors". Is this possible, I found this old plugin, but it is ...
0
votes
0answers
32 views

ReWrite Permalink to New Permalink Nginx

I used to have /%postname%/ permalink but something odd happened today, all links that I click suddenly redirect to home. So I changed the Permalink to /%category%/%postname%/ but this is a big ...

15 30 50 per page