Custom Wordpress Tag Cloud - php

I'm pretty new to Wordpress and I need your help.
I use WP-Polls plugin and I want to build a tag cloud for it. It would show most popular polls. I'm wondering how I can do that. I've tried creating my own taxonomy but with no luck. I'm not sure if I understand it correctly but Wordpress allows to create taxonomies for wp_posts table only. Is it correct?
Do you have any idea how I could solve the problem?
Thanks a lot!

It can be done using wp_generate_tag_cloud. I have created a plugin that retrieves all the info from db and pass it to the above mentioned function.

Related

Enable custom database table fields in Wordpress Elementor

I have an addition database table that was created manually not generated via Wordpress. I want to integrate this table into Wordpress so I can use within the dynamic fields options in Elementor.
Please can you advise the best way to to this?
I have found a plugin called metabox.io , but not sure how to do it via that either. I can see options to create custom tables via meta box, but not integrate manually tables.
Any suggestions appreciated.
the best way i can think of is to create a custom wordpress shortcode.
in the end you should have something like [custom_table id="1" column="db_column" condition=""], you will be able to use this shortcode in elementor dynamic fields.
i do not know about the plugin you mentioned. if you're not familiar with wordpress development you should hire a developer to do this for you.

OpenCart - Need to Create New Section Same as "Manifacturers"

I need to create a new section as same as manifacturers. only its name should be "authors".
I tried to make it. I changed databases, I changed files and created new files as like as "manifacturers". But It couldn't work than I got it: I can't make it without any help.
What should I do? Which document should I read to do this?
you need to do little bit of research bro..
you can go this link
http://www.packtpub.com/sites/default/files/9781783280377_Chapter-01.pdf
or
How to make a simple module in OpenCart? Example getting latest posts from Wordpress and showing it in OpenCart?

Using Wordpress, create a custom post type that has another post type within it

I want to create a custom post type in Wordpress for a course section on a site. I want to be able to add a course and then within that course add lessons. I know how to create basic custom posts but haven't been able to figure out a post within a post. Is this even possible?
The url structure would look something like this:
www.mysite.com/courses/awesome-course/lesson-1/
This is the sort of thing I'm looking for but want to build it myself: http://www.woothemes.com/products/sensei/
Any suggestions would be greatly appreciated,
Thanks
Install the Custom post types plugin by iLocalize http://wordpress.org/plugins/types/. They have a lot of tutorials on how to add the custom posts to a page. This tutorial http://youtu.be/1SXyHbgjYaI here is the best I've found but there are more the wp-types website.

Wordpress DB structure

I want to create more pages in wordpress via running a script. I am new in wordpress and did not understand the wordpress db structure properly. Where I put the page name, link, image and other details?
Can u please tell me the db structure of wordpress?
Thanks in advance
The complete wordpress database structure here
page,link,image all or must be in posts table.
You can find that in wp_posts table. You should find it in the database you create it to install the WP for the first time.
Everything you need to know is here:
https://codex.wordpress.org/Database_Description
It even has links to old versions.
depending on what you might want to add you may have to add things to wp_posts and wp_postmeta, and possibly the taxonomy tables.

How to integrate a custom form and add/edit/delete on wordpress

i want to create a custom form with some fields that i could add/edit/delete on database
how integrate my form with wordpress?
do you know a website ,that have a tutorial about this process ?
thanks
There are plugins that allow you to create custom forms (cformsII), and with some additional PHP knowledge you can retrieve the data using their API. I found this tutorial that quickly goes through installing, configuring and retrieving data from this plugin. That same page also listed some additional forms plugins that are worth looking at.
Another option is to do this using HTML and PHP without the use of a plugin. The following link will give you some insight in how to start and some code that can get you started:
http://www.paulmc.org/whatithink/2009/02/05/using-wordpress-templates-to-create-forms/
Note: There is a plugin called Formidable but only the Pro version allows you to easily retrieve the data from the database.
This is a really involved question, so it shouldn't be asked here.
P.S. Not specific to WordPress but http://teamtutorials.com/web-development-tutorials/php-tutorials/inserting-data-into-a-mysql-database-using-php

Categories