Search Results

Search found 8 results on 1 pages for 'zeina'.

Page 1/1 | 1 

  • How to add ads to the end of RSS on wordpress?

    - by zeina
    I have added a function to functions.php on my theme. function insertAds($content) { $content = $content.' add goes here'; return $content;} add_filter('the_content_feed', 'insertAds'); add_filter('the_excerpt_rss', 'insertAds'); The problem is that I'm having the add displayed under each content, and not at the end of the rss page. How can I fix that?

    Read the article

  • many to many relationship mysql select

    - by zeina
    Let's consider 2 tables "schools" and "students". Now a student may belong to different schools in his life, and a school have many students. So this is a many to many example. A third table "links" specify the relation between student and school. Now to query this I do the following: Select sc.sid , -- stands for school id st.uid, -- stands for student id sc.sname, -- stands for school name st.uname, -- stands for student name -- select more data about the student joining other tables for that from students s left join links l on l.uid=st.uid -- l.uid stands for the student id on the links table left join schools sc on sc.sid=l.sid -- l.sid is the id of the school in the links table where st.uid=3 -- 3 is an example this query will return duplicate data for the user id if he has more than one school, so to fix this I added group by st.uid, yet I also need the list of school name related to the same user. Is there a way to do it with fixing the query I wrote instead of having 2 queries? So as example I want to have Luci of schools ( X, Y, Z, R, ...) etc

    Read the article

  • How to detect if google chrome rss plugin is installed-php?

    - by zeina
    I'm working on a word press project. I noticed that rss is not working fine on google chrome. After I googled about it, it turned out that I need to install a plugin for google chrome so rss works. I want to know how to detect if the plugin is installed or not in case the user is using chrome browser. Currently I'm doing the following: function is_chrome() { return(eregi("chrome", $_SERVER['HTTP_USER_AGENT'])); } if(is_chrome()) { // I want to check if plugin installed or not here. }

    Read the article

  • Can I specify when my video shall start on html?

    - by zeina
    I want my video to show a specified image while embedding it on html basically I'm doing the following: <embed src="video.m4v" width="520" height="456" autoplay="false" controller="true" type="video/quicktime" scale="tofit" pluginspage="http://www.apple.com/quicktime/download/" bgcolor="black"> </embed> Is there a specific parameter that I can add that says when the video shall start?

    Read the article

  • What is the name of google chrome rss plugin?

    - by zeina
    I want to detect if the user has already installed google chrome rss plugin or not. I want to do this using javascript like this : if (navigator.plugins[rss_chrome_plugin _name]) { // do some stuff if it is installed } The problem is that I don't know the name of the plugin.Any help?

    Read the article

1